Merge r4143
This commit is contained in:
parent
740c4bec4b
commit
88ac7d2475
3 changed files with 18 additions and 0 deletions
5
modules/freifunk/ipkg/postinst
Executable file
5
modules/freifunk/ipkg/postinst
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
/etc/init.d/freifunk enabled || /etc/init.d/freifunk enable
|
||||
}
|
11
modules/freifunk/root/etc/init.d/freifunk
Executable file
11
modules/freifunk/root/etc/init.d/freifunk
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
# Freifunk Init
|
||||
# $Id$
|
||||
|
||||
START=99
|
||||
|
||||
boot() {
|
||||
echo "*/5 * * * * killall -HUP dnsmasq" >> /etc/crontabs/root
|
||||
|
||||
[ -f /etc/rc.local ] && . /etc/rc.local
|
||||
}
|
2
modules/freifunk/root/etc/rc.local
Normal file
2
modules/freifunk/root/etc/rc.local
Normal file
|
@ -0,0 +1,2 @@
|
|||
# /etc/rc.local
|
||||
# Only executed on boot, put your custom startup commands here
|
Loading…
Reference in a new issue