summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-common/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/freifunk-common/ipkg/postinst')
-rwxr-xr-xcontrib/package/freifunk-common/ipkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/package/freifunk-common/ipkg/postinst b/contrib/package/freifunk-common/ipkg/postinst
new file mode 100755
index 000000000..52bedb2d4
--- /dev/null
+++ b/contrib/package/freifunk-common/ipkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -n "${IPKG_INSTROOT}" ] || {
+ /etc/init.d/freifunk enabled || /etc/init.d/freifunk enable
+ exit 0
+}