summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-splash/ipkg/postinst')
-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 e9c8bb12c6..1e4d1793d7 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
+}