summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/ipkg
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-25 20:14:49 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-25 20:14:49 +0000
commit950ab853eab2ae0a116d4d2390e46a58c9f5ad42 (patch)
tree59e423c9b83e24894a6672b86da5e3d36fdf012d /modules/freifunk/ipkg
parentc1c220b73922fba4646b224e7309f71965aaec0d (diff)
modules/freifunk: implement /etc/rc.local, install dnsmasq sighup cronjob on boot
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
+}