X-Git-Url: http://git.openwrt.org/openwrt/feeds.git?a=blobdiff_plain;f=root%2Fsbin%2Ffw4;h=30db129415016f75959f628f40fb2f13eea6e0cd;hb=fde80708d63d54be18037c598d1e6aef0c65ca08;hp=3e7388ba332984201808b9eabf17b65fdea35ae4;hpb=53caa1a762125a71389a486aa913e4fbdf3650cf;p=project%2Ffirewall4.git diff --git a/root/sbin/fw4 b/root/sbin/fw4 index 3e7388b..30db129 100755 --- a/root/sbin/fw4 +++ b/root/sbin/fw4 @@ -31,13 +31,13 @@ start() { esac ACTION=start \ - ucode -S -i $MAIN | nft $VERBOSE -f /proc/self/fd/0 + utpl -S $MAIN | nft $VERBOSE -f /proc/self/fd/0 } 1000>$LOCK } print() { ACTION=print \ - ucode -S -i $MAIN + utpl -S $MAIN } stop() { @@ -68,12 +68,12 @@ flush() { reload_sets() { ACTION=reload-sets \ - flock -x $LOCK ucode -S -i $MAIN | nft $VERBOSE -f /proc/self/fd/0 + flock -x $LOCK utpl -S $MAIN | nft $VERBOSE -f /proc/self/fd/0 } lookup() { ACTION=$1 OBJECT=$2 DEVICE=$3 \ - flock -x $LOCK ucode -S -i $MAIN + flock -x $LOCK utpl -S $MAIN } while [ -n "$1" ]; do