summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-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 cd38fcfaf0..c96480c2e3 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
}