[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: diald time restriction



Hi!

Peter Bartosch (lead@gmx.de):
> is it possible to restrict diald only to work at e.g. one hour per day?

It's easy to say "diald is allowed to bring up the line from 3:00 till 4:00"
either by "restrict" options in the configuration file or by sending
block/unblock commands to the control fifo.

But I suppose you want to say "the total time the line is allowed to be up
is 1 hour" - I could imagin a cron job using a log generated from pppd's
ip-{up,down} scripts to decide wether the hour has passed and to block
diald.

Rainer

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB

Attachment: pgpVNQuuB12cT.pgp
Description: PGP signature


Reply to: