diff options
author | Manuel Munz <freifunk@somakoma.de> | 2010-11-24 01:07:45 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2010-11-24 01:07:45 +0000 |
commit | cbe2cb545ce847ddb488ecf52141f560f6cab9ed (patch) | |
tree | 106fc03eae866d8085530819291c68c0976f3dd9 | |
parent | a411c56c8776a7f9844a9c4baebfb08cec00afd7 (diff) |
applications/luci-splash: Use conffiles to store splashtext on sysupgrade
-rwxr-xr-x | applications/luci-splash/ipkg/postinst | 1 | ||||
-rw-r--r-- | applications/luci-splash/ipkg/postrm | 2 | ||||
-rw-r--r-- | contrib/package/luci/Makefile | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/applications/luci-splash/ipkg/postinst b/applications/luci-splash/ipkg/postinst index b35f1636e..a87729e43 100755 --- a/applications/luci-splash/ipkg/postinst +++ b/applications/luci-splash/ipkg/postinst @@ -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 } diff --git a/applications/luci-splash/ipkg/postrm b/applications/luci-splash/ipkg/postrm deleted file mode 100644 index 4c92415d9..000000000 --- a/applications/luci-splash/ipkg/postrm +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -uci del luci.flash_keep.splashtext;uci commit diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index f65cdfa80..786a84ad2 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -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 |