aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Schuknecht <schuknecht@dresearch-fe.de>2011-06-29 09:40:55 +0000
committerSteffen Sledz <sledz@dresearch-fe.de>2011-07-04 13:01:29 +0200
commit51cee0c4458d26660622197a0c897829625b0669 (patch)
tree016ff0bd1cae9c3dba5d40fe613193f0c8ee2a81
parent0f10089de396c2b48456bd539e8a1b45c707b956 (diff)
downloadopenembedded-51cee0c4458d26660622197a0c897829625b0669.tar.gz
openembedded-51cee0c4458d26660622197a0c897829625b0669.tar.bz2
openembedded-51cee0c4458d26660622197a0c897829625b0669.zip
udev: avoid udev stopping persistent pppd connections
When a pppd session is disconnected it triggers the udev to ifdown the ppp link which kills pppd and inhibits a reconnection. Now avoid udev stopping ppp connections. See also: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/396804 https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/78043 http://ubuntuforums.org/showthread.php?t=1177021 http://rants.atmurray.net/2007/01/pppd-persist-not-so-persist-with-udev.html Signed-off-by: Mario Schuknecht <schuknecht@dresearch-fe.de> Acked-by: Steffen Sledz <sledz@dresearch-fe.de>
-rw-r--r--recipes/udev/udev/network.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/udev/udev/network.sh b/recipes/udev/udev/network.sh
index 182c26d86a..d287855221 100644
--- a/recipes/udev/udev/network.sh
+++ b/recipes/udev/udev/network.sh
@@ -9,6 +9,8 @@ test -x /sbin/cardctl && exit 0
# We get two "add" events for hostap cards due to wifi0
echo "$INTERFACE" | grep -q wifi && exit 0
+# Avoid udev stopping persistent ppp connections
+echo "$INTERFACE" | grep -q ppp && exit 0
# Check if /etc/init.d/network has been run yet to see if we are
# called by starting /etc/rcS.d/S03udev and not by hotplugging a device