summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-05 22:06:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-05 22:06:27 +0000
commit7651fd78f055c0f6373027d5dae1f2ce9e8db4c3 (patch)
tree7e33d28dcade2e336b65e00a2718be662de69e5d /applications/luci-splash
parent9f28871ffcd8a59bc372059fe7db30eddba376ed (diff)
* luci: fix postinstall scripts
Diffstat (limited to 'applications/luci-splash')
-rwxr-xr-xapplications/luci-splash/ipkg/postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-splash/ipkg/postinst b/applications/luci-splash/ipkg/postinst
index e9c8bb12c..1e4d1793d 100755
--- a/applications/luci-splash/ipkg/postinst
+++ b/applications/luci-splash/ipkg/postinst
@@ -1,3 +1,5 @@
#!/bin/sh
-/etc/init.d/luci_splash enable
+[ -n "${IPKG_INSTROOT}" ] || {
+ /etc/init.d/luci_splash enable
+}