Project

General

Profile

« Previous | Next » 

Revision 97d53173

Added by Sven Auhagen almost 8 years ago

PPP down script change

View differences:

src/usr/local/sbin/ppp-linkdown
27 27
	/usr/local/sbin/ppp-log-uptime.sh $seconds ${IF} &
28 28
fi
29 29

  
30
/etc/rc.kill_states ${IF} ${LOCAL_IP}
30
if [$IF !=~ "ppp[0-9]*"]
31
then
32
	/etc/rc.kill_states ${IF} ${LOCAL_IP}
33
fi
31 34

  
32 35
if [ "${PROTOCOL}" == "inet" && -s "/tmp/${IF}_defaultgw" ]; then
33 36
	GW=`head -n 1 /tmp/${IF}_defaultgw`

Also available in: Unified diff