[plug] Linux support for schools
Shackleton, Kevin
kshackleton at agric.wa.gov.au
Tue Sep 5 08:46:12 WST 2000
Thanks Mike and Matt.
Looks like both a cron to check the link is up and something in rc.local
would do the job. The script should not dial on the weekend of course.
There's a loss of elegance in having the should-be-connected times in two
locations (the everyday cron and the recovery technique). I suppose I could
make a single script containing the should-be-connected times and call that
from rc.local and a frequently-called cron. Have to borrow my bash book
back . .
BTW, what, in Oz, is considered a 'reasonable holdoff'? A minute? Or more?
I vaguely recall something in a modem manual suggesting it was naughty to
slam calls through end-to-end.
K.
K.
> ----------
> From: Mike Holland[SMTP:myk at golden.wattle.id.au]
>
> /etc/rc.d/rc.local is the place to add start-up code. e.g. something like
>
> hour=`date +%H`
> if [ ($hour -lt 18) -a ($hour -ge 6) ] then ppp-on;
>
>
More information about the plug
mailing list