diff --git a/package/lean/luci-app-frps/Makefile b/package/lean/luci-app-frps/Makefile index 0dd65ece63..1933daf225 100644 --- a/package/lean/luci-app-frps/Makefile +++ b/package/lean/luci-app-frps/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-frps PKG_VERSION:=0.0.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/package/lean/luci-app-frps/root/etc/uci-defaults/40_luci-frps b/package/lean/luci-app-frps/root/etc/uci-defaults/40_luci-frps index b0f9d5783a..6f1b2a18b0 100644 --- a/package/lean/luci-app-frps/root/etc/uci-defaults/40_luci-frps +++ b/package/lean/luci-app-frps/root/etc/uci-defaults/40_luci-frps @@ -7,19 +7,5 @@ uci -q batch <<-EOF >/dev/null commit ucitrack EOF -frps=$(uci -q get frps.@frps[-1]) - -if [ -z "$frps" ]; then - uci -q add frps frps -fi - -if [ "x$frps" != "xmain" ]; then - uci -q batch <<-EOF >/dev/null - rename frps.@frps[-1]="main" - set frps.main.enabled="0" - commit frps - EOF -fi - rm -rf /tmp/luci-indexcache /tmp/luci-modulecache exit 0