applications/luci-splash: Use conffiles to store splashtext on sysupgrade

This commit is contained in:
Manuel Munz 2010-11-24 01:07:45 +00:00
parent a411c56c87
commit cbe2cb545c
3 changed files with 1 additions and 3 deletions

View file

@ -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
}

View file

@ -1,2 +0,0 @@
#!/bin/sh
uci del luci.flash_keep.splashtext;uci commit

View file

@ -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