# SLIP start/stop script
# Usage: slip { start | stop }
#


case "$1" in
stop)
	stty sane
	echo ""
	kill -9 `cat /etc/slip.pid`
	route -f -n delete default 199.2.100.13
	netstat -rn
	;;

start)
	stty sane
	echo ""
	slattach +c +v +m 1006 tty1A 199.2.100.13 199.2.96.35 38400&
	echo $! >/etc/slip.pid
	sleep 5
	route -n add default 199.2.100.13 0
	;;
*)
	echo "Usage: $0 { start | stop }"
	exit 1
	;;
esac
exit 0
