diff options
author | Matthias Hentges <oe@hentges.net> | 2006-04-20 16:01:09 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-20 16:01:09 +0000 |
commit | 59477a7a2bd675aa25967cf6851a66f5852932d0 (patch) | |
tree | ba9717a14f7edece45db26fbc6ce5746e80d14d9 /packages/udev/files | |
parent | f51ab442976e16713aa131e019c5a93e3f968715 (diff) |
udev: network.sh: Do not ifup an already configured network device again.
Diffstat (limited to 'packages/udev/files')
-rw-r--r-- | packages/udev/files/network.sh | 2 |
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 |