# See how we were called. case "$1" in start) # Start daemon. /usr/sbin/pppoe-start ;; stop) # Stop daemon. /usr/sbin/pppoe-stop ;; status) # Show status of the daemon. # Show status of the daemon. /usr/sbin/pppoe-status ;; restart) $0 stop $0 start ;; *) echo "Usage: rc.pppoe {start|stop|restart|status}" exit 1 esac rc.pppoe: line 24: rc.pppoe: command not found rc.pppoe: line 25: rc.pppoe: command not found