wok-tiny view ppp/stuff/etc/init.d/pppd @ rev 17

Add ppp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 22:04:13 2011 +0100 (2011-02-02)
parents
children
line source
1 #!/bin/sh
3 case "$1" in
4 start)
5 echo 1 > /proc/sys/net/ipv4/ip_forward
6 exec /etc/ppp/scripts/ppp-on ;;
7 stop)
8 exec /etc/ppp/scripts/ppp-off ;;
9 restart)
10 $0 stop
11 $0 start ;;
12 esac