4 if [ -r /var
/run
/$DEVICE.pid
]; then
5 kill -INT `cat /var/run/$DEVICE.pid`
7 if [ ! "$?" = "0" ]; then
8 rm -f /var
/run
/$DEVICE.pid
9 echo >/dev
/console
"ERROR: Removed stale pid file"
13 echo >/dev
/console
"PPP link to $DEVICE terminated."
17 echo >/dev
/console
"ERROR: PPP link not active on $DEVICE"