ed1364e001e75b70abd1bef1cf7727ded247ee2d
1 #!/bin/sh /etc/rc.common
8 test -f /etc
/crontabs
/root ||
touch /etc
/crontabs
/root
10 grep -q 'killall -HUP dnsmasq' /etc
/crontabs
/root ||
{
11 echo "*/5 * * * * killall -HUP dnsmasq" >> /etc
/crontabs
/root
14 grep -q '/usr/sbin/ff_olsr_watchdog' /etc
/crontabs
/root ||
{
15 echo "*/5 * * * * /usr/sbin/ff_olsr_watchdog" >> /etc
/crontabs
/root
18 grep -q '/usr/sbin/ff_rdate' /etc
/crontabs
/root ||
{
19 echo "0 */4 * * * /usr/sbin/ff_rdate" >> /etc
/crontabs
/root
22 grep -q '/usr/sbin/ff_mapupdate' /etc
/crontabs
/root ||
{
23 echo "17 * * * * /usr/sbin/ff_mapupdate" >> /etc
/crontabs
/root
26 [ -d /etc
/rc.
local.d
] && {
27 for file in /etc
/rc.
local.d
/*; do
28 test -f "$file" && .
"$file"
32 ( sleep 40; /usr
/sbin
/ff_rdate
; /etc
/init.d
/cron restart
) &