aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Laitio <lamikr@cc.jyu.fi>2006-05-25 11:12:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-25 11:12:20 +0000
commit408f6d8db253d3ef863cfc8c5c6ca9270ebba683 (patch)
tree0c7433f04cda135c9c39748188aac8131b663422
parente063fb83c51e7313d76744c662cc8fd4ed39ffeb (diff)
downloadopenembedded-408f6d8db253d3ef863cfc8c5c6ca9270ebba683.tar.gz
openembedded-408f6d8db253d3ef863cfc8c5c6ca9270ebba683.tar.bz2
openembedded-408f6d8db253d3ef863cfc8c5c6ca9270ebba683.zip
udev: fix the nfs boot by using usb-gadget. Backported from the dev branch.
-rw-r--r--packages/udev/files/network.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/files/network.sh b/packages/udev/files/network.sh
index 2cfbfa91b3..5e2bd5799a 100644
--- a/packages/udev/files/network.sh
+++ b/packages/udev/files/network.sh
@@ -15,7 +15,7 @@ echo "$INTERFACE" | grep -q wifi && exit 0
if grep -q "iface \+$INTERFACE" /etc/network/interfaces; then
case $ACTION in
add)
- ifup $INTERFACE
+ ifconfig | grep -q "^$INTERFACE" || ifup $INTERFACE
;;
remove)
ifdown $INTERFACE