diff options
author | Richard Purdie <richard@openedhand.com> | 2008-06-16 11:07:51 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-06-16 11:07:51 +0000 |
commit | 322393c27f305b41f1911e64158676a9468de828 (patch) | |
tree | cfd7b0cb643f5af495e87c639dcbd08668d4430f /meta/packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch | |
parent | 5b286d94930d59a2946acd96811c420783c64685 (diff) | |
download | openembedded-core-contrib-322393c27f305b41f1911e64158676a9468de828.tar.gz |
linux-hotplug: Drop, we don't support 2.4 kernels
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4670 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch')
-rw-r--r-- | meta/packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch b/meta/packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch deleted file mode 100644 index a64fc50d2b..0000000000 --- a/meta/packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- hotplug/etc/hotplug/net.agent 2005-01-13 21:12:47.143597392 +1300 -+++ hotplug/etc/hotplug/net.agent 2005-01-13 21:17:57.095477544 +1300 -@@ -41,6 +41,9 @@ - debug_mesg assuming $INTERFACE is already up - exit 0 - ;; -+ # interfaces that don't go up until attached -+ usbf) -+ ;; - # interfaces that are registered then brought up - *) - # NOTE: network configuration relies on administered state, -@@ -83,6 +86,13 @@ - mesg $1 $ACTION event not handled - ;; - -+attach) -+ # ifupdown is dumb and won't bring up an interface that it thinks -+ # might already be configured. -+ /sbin/ifdown $INTERFACE -+ exec /sbin/ifup $INTERFACE -+ ;; -+ - remove|unregister) - case $INTERFACE in - # interfaces that are unregistered after being "down" (?) -@@ -105,6 +115,16 @@ - mesg $1 $ACTION event not handled - ;; - -+detach) -+ if [ -x /sbin/ifdown ]; then -+ debug_mesg invoke ifdown $INTERFACE -+ exec /sbin/ifdown $INTERFACE -+ else -+ mesg "E: /sbin/ifdown not found. You need to install ifupdown package" -+ fi -+ mesg $1 $ACTION event not handled -+ ;; -+ - *) - debug_mesg NET $ACTION event for $INTERFACE not supported - exit 1 ;; |