1 #!/bin/sh /etc/rc.common
8 grep -q 'killall -HUP dnsmasq' /etc
/crontabs
/root ||
{
9 echo "*/5 * * * * killall -HUP dnsmasq" >> /etc
/crontabs
/root
12 grep -q '/usr/sbin/ff_olsr_test_gw' /etc
/crontabs
/root ||
{
13 echo "* * * * * /usr/sbin/ff_olsr_test_gw" >> /etc
/crontabs
/root
16 grep -q '/usr/sbin/ff_olsr_watchdog' /etc
/crontabs
/root ||
{
17 echo "*/5 * * * * /usr/sbin/ff_olsr_watchdog" >> /etc
/crontabs
/root
20 grep -q '/usr/sbin/ff_rdate' /etc
/crontabs
/root ||
{
21 echo "0 */4 * * * /usr/sbin/ff_rdate" >> /etc
/crontabs
/root
24 [ -f /etc
/rc.
local ] && .
/etc
/rc.
local
25 [ -d /etc
/rc.
local.d
] && {
26 for file in /etc
/rc.
local.d
/*; do
27 test -f "$file" && .
"$file"
31 ( /usr
/sbin
/ff_rdate
; /etc
/init.d
/cron restart
) &