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 | |
parent | f51ab442976e16713aa131e019c5a93e3f968715 (diff) |
udev: network.sh: Do not ifup an already configured network device again.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/udev/files/network.sh | 2 | ||||
-rw-r--r-- | packages/udev/udev_084.bb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/packages/udev/udev_084.bb b/packages/udev/udev_084.bb index 6ca02a5cfb..6478d4b42a 100644 --- a/packages/udev/udev_084.bb +++ b/packages/udev/udev_084.bb @@ -14,7 +14,7 @@ include udev.inc INITSCRIPT_PARAMS = "start 03 S . start 55 0 6 ." -PR = "r6" +PR = "r7" FILES_${PN} += "${base_libdir}" UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/" |