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/poff | |
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/poff')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp-2.4.5/poff | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp-2.4.5/poff b/meta/recipes-connectivity/ppp/ppp-2.4.5/poff deleted file mode 100644 index 0521a9406a..0000000000 --- a/meta/recipes-connectivity/ppp/ppp-2.4.5/poff +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Lets see how many pppds are running.... | ||
4 | set -- `cat /var/run/ppp*.pid 2>/dev/null` | ||
5 | |||
6 | case $# in | ||
7 | 0) # pppd only creates a pid file once ppp is up, so let's try killing pppd | ||
8 | # on the assumption that we've not got that far yet. | ||
9 | killall pppd | ||
10 | ;; | ||
11 | 1) # If only one was running then it can be killed (apparently killall | ||
12 | # caused problems for some, so lets try killing the pid from the file) | ||
13 | kill $1 | ||
14 | ;; | ||
15 | *) # More than one! Aieehh.. Dont know which one to kill. | ||
16 | echo "More than one pppd running. None stopped" | ||
17 | exit 1 | ||
18 | ;; | ||
19 | esac | ||
20 | |||
21 | if [ -r /var/run/ppp-quick ] | ||
22 | then | ||
23 | rm -f /var/run/ppp-quick | ||
24 | fi | ||
25 | |||
26 | exit 0 | ||