3 # /etc/init.d/ppp: start or stop PPP link.
5 # If you want PPP started on boot time (most dialup systems won't need it)
6 # rename the /etc/ppp/no_ppp_on_boot file to /etc/ppp/ppp_on_boot, and
7 # follow the instructions in the comments in that file.
9 test -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot || exit 0
10 if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi
14 echo -n "Starting up PPP link: pppd"
15 if [ "$RUNFILE" = "1" ]; then
23 echo -n "Shutting down PPP link: pppd"
24 if [ "$RUNFILE" = "1" ]; then
32 echo -n "Restarting PPP link: pppd"
33 if [ "$RUNFILE" = "1" ]; then
45 echo "Usage: /etc/init.d/ppp {start|stop|restart|force-reload}"