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