luci-theme-netgear: fix self enabled

This commit is contained in:
ZhenYu 2019-11-27 18:20:50 +08:00 committed by coolsnowwolf
parent cd0f7595b3
commit 1c004c50b2
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=Netgear Theme
LUCI_DEPENDS:=
PKG_RELEASE:=2
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -1,7 +1,8 @@
#!/bin/sh
uci batch <<-EOF
set luci.themes.netgear=/luci-static/netgear
set luci.themes.Netgear=/luci-static/netgear
set luci.main.mediaurlbase=/luci-static/netgear
commit luci
EOF
exit 0
exit 0
# ↑↑↑ DO NOT EDIT THIS LINE