* luci-0.8: merge r3718
[oweals/luci.git] / applications / luci-splash / ipkg / postinst
index e9c8bb12c63be2d1030e901644901d5b7ec70576..1e4d1793d7b035cc81651d4e1f78872dd0fd09d7 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-/etc/init.d/luci_splash enable
+[ -n "${IPKG_INSTROOT}" ] || {
+       /etc/init.d/luci_splash enable
+}