Read the Manpage and look for an option called if-up (I think).  I believe
it behaves essentially the same as add-route.  You can put the script in
/etc/diald/ as suggested by the manpage. 

On Fri, 6 Aug 1999, bchiodini wrote:

> Andy Schaefer wrote:
> 
> > Hello, I have been running diald on a RH5.2 box for some time now, and I
> > have been really pleased with the results.  I would like to be able to
> > execute a script whenever diald is finished completing the connection, and
> > someone had suggested that I put it in the ifup script.  I assumed that he
> > meant the /etc/sysconfig/network-scripts/ifup-ppp file.  I tried this and
> > it did not seem to work.  Any suggestions?
> 
> You could define your script as the addroute script in diald.conf:
> 
> addroute /etc/diald/myscript
> 
> This will run your script after the ppp connection is up and the interface is
> configured.
> 
> Bob Chiodini
> 
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to