mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-09 10:47:34 +01:00
hostmngr: access control handling for disabled
This commit is contained in:
parent
b0b2874fdf
commit
002dceac35
1 changed files with 5 additions and 0 deletions
|
|
@ -144,6 +144,11 @@ process_ac_schedule() {
|
|||
IP_RULE=""
|
||||
IP_RULE1=""
|
||||
|
||||
config_get is_enabled "$access_control" "enable" 1
|
||||
if [ "$is_enabled" == "0" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
mac=$(uci -q get hosts.$access_control.macaddr)
|
||||
access_policy=$(uci -q get hosts.$access_control.access_policy)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue