applications/luci-splash: Use conffiles to store splashtext on sysupgrade
This commit is contained in:
parent
a411c56c87
commit
cbe2cb545c
3 changed files with 1 additions and 3 deletions
|
@ -2,6 +2,5 @@
|
|||
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
/etc/init.d/luci_splash enabled || /etc/init.d/luci_splash enable
|
||||
uci set luci.flash_keep.splashtext="/usr/lib/luci-splash/splashtext.html";uci commit
|
||||
exit 0
|
||||
}
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
uci del luci.flash_keep.splashtext;uci commit
|
|
@ -308,6 +308,7 @@ endef
|
|||
|
||||
define Package/luci-app-splash/conffiles
|
||||
/etc/config/luci_splash
|
||||
/usr/lib/luci-splash/splashtext.html
|
||||
endef
|
||||
|
||||
define Package/luci-app-statistics/conffiles
|
||||
|
|
Loading…
Reference in a new issue