You should be able to add your command to the end of the /etc/ppp/ip-up script. You would probably want to add a sleep command before it to allow everything else to settle before restarting ipsec.
Andrew Gray -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ronny Aasen Sent: Mon, 22 Jul 2002 23:42 PM To: leaf Subject: [leaf-user] running script after dialing isdn line hi how can i make a bering rc3 with isdn.lrp run a script/command after dial up? the script would run "ipsec setup restart" in order to make ipsec aware of the new default gw. this is also interesting for modem connections/or xDSL connections with dhcp renewal daily. mvh Ronny Aasen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html