mirror of
https://github.com/openNDS/openNDS.git
synced 2026-01-09 11:57:55 -05:00
Fix - delete old nftset form config on startup
Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
@@ -1539,6 +1539,8 @@ nft_set () {
|
||||
|
||||
else
|
||||
# OpenWrt
|
||||
ucicmd="del dhcp.nds_$nftsetname"
|
||||
echo $ucicmd | uci -q batch
|
||||
ucicmd="set dhcp.nds_$nftsetname='ipset'"
|
||||
echo $ucicmd | uci -q batch
|
||||
ucicmd="add_list dhcp.nds_$nftsetname.name='$nftsetname'"
|
||||
|
||||
Reference in New Issue
Block a user