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