istoreos: accept wan input by default
This commit is contained in:
parent
681ca93b97
commit
3712d3e414
@ -1,8 +1,8 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=istoreos-files
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=$(COMMITCOUNT)
|
||||
PKG_FLAGS:=hold essential nonshared
|
||||
|
||||
PKG_LICENSE:=CC0-1.0
|
||||
|
||||
@ -9,7 +9,7 @@ EOF
|
||||
|
||||
uci set dockerd.globals.data_root=/overlay/upper/opt/docker
|
||||
|
||||
if grep -q nas /proc/device-tree/chosen/default-firewall; then
|
||||
if [ ! -f /proc/device-tree/chosen/default-firewall ] || grep -qFw nas /proc/device-tree/chosen/default-firewall; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@wan_drop[-1]
|
||||
add ucitrack wan_drop
|
||||
|
||||
Loading…
Reference in New Issue
Block a user