[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I screwed up real good.



Hello Peter!

I can understand you, because I'm working on my PPP connection, too.
Sometimes I'm a bit confused, ...

I didn't modified my /etc/init.d/ppp, so it should work!

Look at ls -Fl /etc/init.d/ppp:
-rwxr-xr-x   1 root     root       510 Dec   8 02:54 /etc/init.d/ppp*

Good luck!

#! /bin/sh
# /etc/init.d/ppp: start or stop PPP.

FLAGS="start 20 2 3 4 5 . stop 20 0 1 6 ."
# NO_RESTART_ON_UPGRADE

test -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot || exit 0

case "$1" in
  start)
      start-stop-daemon --start --verbose --exec /usr/sbin/pppd -- \
	connect "/usr/sbin/chat -v -f /etc/ppp.chatscript" `cat /etc/ppp.options_out`
    ;;
  stop)
      start-stop-daemon --stop --verbose --exec /usr/sbin/pppd
    ;;
  *)
    echo "Usage: /etc/init.d/ppp {start|stop}"
    exit 1
esac

exit 0

Reply to: