applications/luci-multiwan: use new uci disable option instead of disabling the init...
[project/luci.git] / applications / luci-splash / ipkg / postinst
index 0a4ca74..a87729e 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/sh
 
 [ -n "${IPKG_INSTROOT}" ] || {
-       /etc/init.d/luci_splash enable
-
+       /etc/init.d/luci_splash enabled || /etc/init.d/luci_splash enable
        exit 0
 }