git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a9e98
)
ppp: fix poff
author
Eric Bénard
<eric@eukrea.com>
Tue, 21 Sep 2010 08:41:09 +0000
(10:41 +0200)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Fri, 23 Nov 2012 15:23:29 +0000
(17:23 +0200)
* the pid file contains several lines which breaks poff, even
if only one pppd is running
753
ppp0
753
pppd version 2.4.5
* by using pidoff to kill pppd this script works again
Signed-off-by: Eric Bénard <eric@eukrea.com>
recipes/ppp/files/poff
patch
|
blob
|
history
diff --git
a/recipes/ppp/files/poff
b/recipes/ppp/files/poff
index
0521a94
..
b2042ef
100644
(file)
--- a/
recipes/ppp/files/poff
+++ b/
recipes/ppp/files/poff
@@
-2,6
+2,7
@@
# Lets see how many pppds are running....
set -- `cat /var/run/ppp*.pid 2>/dev/null`
+set -- `pidof pppd`
case $# in
0) # pppd only creates a pid file once ppp is up, so let's try killing pppd