From 784b3f2e11dff21107c4b12a16267437e7c9a1ac Mon Sep 17 00:00:00 2001 From: floh1111 Date: Sun, 14 Aug 2011 14:54:15 +0000 Subject: [PATCH] Added reboot crontab for dir300 and fonera --- root_file_system/default/etc/crontabs/root | 2 +- root_file_system/dir300/etc/crontabs/root | 21 +++++++++++++++++++++ root_file_system/fonera/etc/crontabs/root | 21 +++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 root_file_system/dir300/etc/crontabs/root create mode 100644 root_file_system/fonera/etc/crontabs/root diff --git a/root_file_system/default/etc/crontabs/root b/root_file_system/default/etc/crontabs/root index 1c2e7c0..81e6001 100644 --- a/root_file_system/default/etc/crontabs/root +++ b/root_file_system/default/etc/crontabs/root @@ -15,4 +15,4 @@ #* * * * * /usr/sbin/ff_olsr_test_gw #*/5 * * * * /usr/sbin/ff_olsr_watchdog #0 */4 * * * /usr/sbin/ff_rdate -#17 * * * * /usr/sbin/ff_mapupdate +#17 * * * * /usr/sbin/ff_mapupdate \ No newline at end of file diff --git a/root_file_system/dir300/etc/crontabs/root b/root_file_system/dir300/etc/crontabs/root new file mode 100644 index 0000000..c150ef0 --- /dev/null +++ b/root_file_system/dir300/etc/crontabs/root @@ -0,0 +1,21 @@ +*/5 * * * * killall klogd +*/5 * * * * killall syslogd +*/5 * * * * killall logger + +*/5 * * * * sh /etc/tincstart.sh +*/5 * * * * sh /etc/nodewatcher.sh +0 * * * * sh /etc/configurator.sh + +15 01 * * * rdate -s time.fu-berlin.de > /dev/null + +#Enable zapp script if you are running a gateway +#*/1 * * * * /etc/init.d/zapp + +*/5 * * * * killall -HUP dnsmasq +#* * * * * /usr/sbin/ff_olsr_test_gw +#*/5 * * * * /usr/sbin/ff_olsr_watchdog +#0 */4 * * * /usr/sbin/ff_rdate +#17 * * * * /usr/sbin/ff_mapupdate + +#Reboot dir300 every 3 days at 04:05 +5 4 */3 * * reboot \ No newline at end of file diff --git a/root_file_system/fonera/etc/crontabs/root b/root_file_system/fonera/etc/crontabs/root new file mode 100644 index 0000000..39f95fc --- /dev/null +++ b/root_file_system/fonera/etc/crontabs/root @@ -0,0 +1,21 @@ +*/5 * * * * killall klogd +*/5 * * * * killall syslogd +*/5 * * * * killall logger + +*/5 * * * * sh /etc/tincstart.sh +*/5 * * * * sh /etc/nodewatcher.sh +0 * * * * sh /etc/configurator.sh + +15 01 * * * rdate -s time.fu-berlin.de > /dev/null + +#Enable zapp script if you are running a gateway +#*/1 * * * * /etc/init.d/zapp + +*/5 * * * * killall -HUP dnsmasq +#* * * * * /usr/sbin/ff_olsr_test_gw +#*/5 * * * * /usr/sbin/ff_olsr_watchdog +#0 */4 * * * /usr/sbin/ff_rdate +#17 * * * * /usr/sbin/ff_mapupdate + +#Reboot fonera every 2 days at 04:05 +5 4 */2 * * reboot \ No newline at end of file