summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/ipkg
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freifunk/ipkg')
-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 0000000000..90e28effee
--- /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
+}