[oe-commits] Mario Schuknecht : udev: avoid udev stopping persistent pppd connections
git version control
git at git.openembedded.org
Fri Jul 29 21:19:57 UTC 2011
Module: openembedded.git
Branch: 2011.03-maintenance
Commit: a261cb8b9cd4eee91b5d7c335456dd89ad54614a
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=a261cb8b9cd4eee91b5d7c335456dd89ad54614a
Author: Mario Schuknecht <schuknecht at dresearch-fe.de>
Date: Wed Jun 29 09:40:55 2011 +0000
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 at dresearch-fe.de>
Acked-by: Steffen Sledz <sledz at dresearch-fe.de>
---
recipes/udev/files/network.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes/udev/files/network.sh b/recipes/udev/files/network.sh
index 182c26d..d287855 100644
--- a/recipes/udev/files/network.sh
+++ b/recipes/udev/files/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
More information about the Openembedded-commits
mailing list