diff --git a/.github/diy/patches/advancedplus.patch b/.github/diy/patches/advancedplus.patch index fa4a8789..b82228bd 100644 --- a/.github/diy/patches/advancedplus.patch +++ b/.github/diy/patches/advancedplus.patch @@ -1,8 +1,10 @@ --- a/luci-app-advancedplus/root/etc/init.d/advancedplus +++ b/luci-app-advancedplus/root/etc/init.d/advancedplus -@@ -112,7 +112,6 @@ start() { +@@ -92,9 +92,7 @@ advancedset(){ + + start_service() { [ -f $LOCK ] && exit - [ "x$XBOOT" = "x1" ] && exit 0 +- [ "x$(uci -q get advancedplus.@basic[0].uhttpd)" = "x1" ] && uhttpd_service touch $LOCK - advancedset rm -rf /tmp/luci-*