istoreos: accept wan input by default

This commit is contained in:
jjm2473 2022-05-15 10:37:27 +08:00
parent 681ca93b97
commit 3712d3e414
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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