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