summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/olsrd-luci/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/olsrd-luci/ipkg/postinst')
-rwxr-xr-xcontrib/package/olsrd-luci/ipkg/postinst4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/package/olsrd-luci/ipkg/postinst b/contrib/package/olsrd-luci/ipkg/postinst
index cd38fcfaf..c96480c2e 100755
--- a/contrib/package/olsrd-luci/ipkg/postinst
+++ b/contrib/package/olsrd-luci/ipkg/postinst
@@ -1,7 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- /etc/init.d/olsrd enable
-
- exit 0
+ /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable
}