mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-06 23:08:07 +08:00
update 2025-12-04 00:34:15
This commit is contained in:
@@ -97,7 +97,7 @@ start()
|
||||
action=0
|
||||
fi
|
||||
|
||||
host=$(uci get hostacl.@rule[$idx].host 2>/dev/null)
|
||||
host=$(uci get hostacl.@rule[$idx].host 2>/dev/null | tr A-Z a-z)
|
||||
host=$(echo $host | sed "s/,/ /g;s/'/ /g")
|
||||
for HOST in $host; do
|
||||
echo add acl=${idx},${action},$HOST >/dev/hostacl_ctl
|
||||
|
||||
Reference in New Issue
Block a user