* luci: fix postinstall scripts
[project/luci.git] / applications / luci-splash / ipkg / postinst
index e9c8bb1..1e4d179 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-/etc/init.d/luci_splash enable
+[ -n "${IPKG_INSTROOT}" ] || {
+       /etc/init.d/luci_splash enable
+}