diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-03-03 16:27:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:50:21 +0000 |
commit | 3bd5c238bc17a41b8f5986865b44693d2e4492bf (patch) | |
tree | a8ad7572b9d7b8e982ddefcd686f90b81c82a622 /meta/recipes-connectivity/ppp/ppp-2.4.5/init | |
parent | 5da3ba5457aa6c445d61bac10be37f2aa1548a28 (diff) | |
download | poky-3bd5c238bc17a41b8f5986865b44693d2e4492bf.tar.gz |
ppp: upgrade to 2.4.6
(From OE-Core rev: d05b1d06b5b8b84c2a40639ad28e31cd683f89a4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp-2.4.5/init')
-rwxr-xr-x | meta/recipes-connectivity/ppp/ppp-2.4.5/init | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp-2.4.5/init b/meta/recipes-connectivity/ppp/ppp-2.4.5/init deleted file mode 100755 index 0c0136049b..0000000000 --- a/meta/recipes-connectivity/ppp/ppp-2.4.5/init +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # /etc/init.d/ppp: start or stop PPP link. | ||
4 | # | ||
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. | ||
8 | |||
9 | # Source function library. | ||
10 | . /etc/init.d/functions | ||
11 | |||
12 | test -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot || exit 0 | ||
13 | if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi | ||
14 | |||
15 | case "$1" in | ||
16 | start) | ||
17 | echo -n "Starting up PPP link: pppd" | ||
18 | if [ "$RUNFILE" = "1" ]; then | ||
19 | /etc/ppp/ppp_on_boot | ||
20 | else | ||
21 | pppd call provider | ||
22 | fi | ||
23 | echo "." | ||
24 | ;; | ||
25 | stop) | ||
26 | echo -n "Shutting down PPP link: pppd" | ||
27 | if [ "$RUNFILE" = "1" ]; then | ||
28 | poff | ||
29 | else | ||
30 | poff provider | ||
31 | fi | ||
32 | echo "." | ||
33 | ;; | ||
34 | status) | ||
35 | status /usr/sbin/pppd; | ||
36 | exit $? | ||
37 | ;; | ||
38 | restart|force-reload) | ||
39 | echo -n "Restarting PPP link: pppd" | ||
40 | if [ "$RUNFILE" = "1" ]; then | ||
41 | poff | ||
42 | sleep 5 | ||
43 | /etc/ppp/ppp_on_boot | ||
44 | else | ||
45 | poff provider | ||
46 | sleep 5 | ||
47 | pppd call provider | ||
48 | fi | ||
49 | echo "." | ||
50 | ;; | ||
51 | *) | ||
52 | echo "Usage: /etc/init.d/ppp {start|stop|status|restart|force-reload}" | ||
53 | exit 1 | ||
54 | ;; | ||
55 | esac | ||
56 | |||
57 | exit 0 | ||