diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-07-01 14:34:12 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:28:54 +0100 |
commit | 057d63096253b61551dbc2d0ea34a60f58987969 (patch) | |
tree | 5b860616fa619ca40b6702c715090a9b47b74edf /meta/packages/ppp/files/poff | |
parent | 4cf75289108579ac2048178465c98e8c36f39038 (diff) | |
download | poky-057d63096253b61551dbc2d0ea34a60f58987969.tar.gz |
ppp: Upgraded to version 2.4.5
Removed some patches since they are already in latest package
Rebased some patches to fit ppp-2.4.5
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/packages/ppp/files/poff')
-rw-r--r-- | meta/packages/ppp/files/poff | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/packages/ppp/files/poff b/meta/packages/ppp/files/poff deleted file mode 100644 index 0521a9406a..0000000000 --- a/meta/packages/ppp/files/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 | ||