Final config preserve test

main^2
Jason Hawks 1 year ago
parent c5e29845e4
commit de13f9ea7a

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-easymesh PKG_NAME:=luci-app-easymesh
PKG_VERSION:=2.8.15 PKG_VERSION:=2.8.16
PKG_RELEASE:=$(AUTORELEASE) PKG_RELEASE:=$(AUTORELEASE)
PKG_MAINTAINER:=Jason Hawks <jason@torguard.net> PKG_MAINTAINER:=Jason Hawks <jason@torguard.net>

@ -11,12 +11,12 @@ else
echo "/etc/config/easymesh exists, skipping creation" echo "/etc/config/easymesh exists, skipping creation"
fi fi
uci -q batch <<-EOF >/dev/null # uci -q batch <<-EOF >/dev/null
delete ucitrack.@easymesh[-1] # delete ucitrack.@easymesh[-1]
add ucitrack easymesh # add ucitrack easymesh
set ucitrack.@easymesh[-1].init=easymesh # set ucitrack.@easymesh[-1].init=easymesh
commit ucitrack # commit ucitrack
EOF # EOF
rm -f /tmp/luci-indexcache rm -f /tmp/luci-indexcache
exit 0 exit 0

Loading…
Cancel
Save