diff options
Diffstat (limited to 'modules/freifunk/root/etc/init.d')
-rwxr-xr-x | modules/freifunk/root/etc/init.d/freifunk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/freifunk/root/etc/init.d/freifunk b/modules/freifunk/root/etc/init.d/freifunk index 61bd58055b..a61f8b7a17 100755 --- a/modules/freifunk/root/etc/init.d/freifunk +++ b/modules/freifunk/root/etc/init.d/freifunk @@ -13,6 +13,10 @@ boot() { echo "* * * * * /usr/sbin/ff_olsr_test_gw" >> /etc/crontabs/root } + grep -q '/usr/sbin/ff_olsr_watchdog' /etc/crontabs/root || { + echo "*/5 * * * * /usr/sbin/ff_olsr_watchdog" >> /etc/crontabs/root + } + [ -f /etc/rc.local ] && . /etc/rc.local [ -d /etc/rc.local.d ] && { for file in /etc/rc.local.d/*; do |