It would be pretty easy, but I think it makes mose sense to just run pppd from loop inside a perl program:
while ('true') {
system("pppd ...");
print STDERR "pppd exited; restarting...\n";
}
That's what I do on my system, except my script has some logging and it has some safety features so that it doesn't spin out of control if I shut off the modem or something like that.
In reply to RE: compound perl question
by Dominus
in thread compound perl question
by nascent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |