diff options
| author | John Klug <john.klug@multitech.com> | 2017-04-25 15:48:35 -0500 |
|---|---|---|
| committer | John Klug <john.klug@multitech.com> | 2017-05-23 15:22:10 -0500 |
| commit | f911d680a7b085b29d2bdd87cae0381985a6fc39 (patch) | |
| tree | 05eb35a99723c814dd21c2a4a6dfb6ed3f13b53d /recipes-connectivity/ppp/ppp-2.4.7/init | |
| parent | 0628de62996b4193a1106c8b1b5ce7ca6bb8bcf4 (diff) | |
| download | meta-mlinux-f911d680a7b085b29d2bdd87cae0381985a6fc39.tar.gz meta-mlinux-f911d680a7b085b29d2bdd87cae0381985a6fc39.tar.bz2 meta-mlinux-f911d680a7b085b29d2bdd87cae0381985a6fc39.zip | |
Use openembedded ppp
Diffstat (limited to 'recipes-connectivity/ppp/ppp-2.4.7/init')
| -rwxr-xr-x | recipes-connectivity/ppp/ppp-2.4.7/init | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/recipes-connectivity/ppp/ppp-2.4.7/init b/recipes-connectivity/ppp/ppp-2.4.7/init deleted file mode 100755 index 5b3b7ab..0000000 --- a/recipes-connectivity/ppp/ppp-2.4.7/init +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# /etc/init.d/ppp: start or stop PPP link. -# -# If you want PPP started on boot time (most dialup systems won't need it) -# rename the /etc/ppp/no_ppp_on_boot file to /etc/ppp/ppp_on_boot, and -# follow the instructions in the comments in that file. - -test -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot || exit 0 -if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi - -case "$1" in - start) - echo -n "Starting up PPP link: pppd" - if [ "$RUNFILE" = "1" ]; then - /etc/ppp/ppp_on_boot - else - pppd call provider - fi - echo "." - ;; - stop) - echo -n "Shutting down PPP link: pppd" - if [ "$RUNFILE" = "1" ]; then - poff - else - poff provider - fi - echo "." - ;; - restart|force-reload) - echo -n "Restarting PPP link: pppd" - if [ "$RUNFILE" = "1" ]; then - poff - sleep 5 - /etc/ppp/ppp_on_boot - else - poff provider - sleep 5 - pppd call provider - fi - echo "." - ;; - *) - echo "Usage: /etc/init.d/ppp {start|stop|restart|force-reload}" - exit 1 - ;; -esac - -exit 0 |
