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, 1 insertions, 3 deletions
diff --git a/applications/luci-splash/ipkg/postinst b/applications/luci-splash/ipkg/postinst
index 0a4ca74cb7..f898ad1620 100755
--- a/applications/luci-splash/ipkg/postinst
+++ b/applications/luci-splash/ipkg/postinst
@@ -1,7 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/luci_splash enable
-
- exit 0
+ /etc/init.d/luci_splash enabled || /etc/init.d/luci_splash enable
}