Re: [OpenWrt-Devel] WAN PPTP connection handling

2008-12-25 Thread liran tal
Hey Felix, On Sat, Dec 20, 2008 at 2:32 PM, Felix Fietkau wrote: > liran tal wrote: >> Hey, >>For this reason I have added a script to /etc/ppp/ip-down.d/ to kill >> all connections, and if keep-alive option is set to true >> then to bring up the wan interface again. &

[OpenWrt-Devel] WAN PPTP connection handling

2008-12-19 Thread liran tal
ction handling script # # 20th December, 2008. # Liran Tal . /etc/functions.sh config_load network config_get proto wan proto if [ "$proto" = "pptp" ]; then killall pptp; killall pppd; kill -9 `cat /var/run/ppp0.pid`; fi config_get redial wan ppp_redial