diff options
-rw-r--r-- | meta/recipes-core/udev/udev-extraconf/network.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/network.sh b/meta/recipes-core/udev/udev-extraconf/network.sh index ace38808cd..500e60ae61 100644 --- a/meta/recipes-core/udev/udev-extraconf/network.sh +++ b/meta/recipes-core/udev/udev-extraconf/network.sh | |||
@@ -11,7 +11,7 @@ export PATH | |||
11 | if grep -q "iface \+$INTERFACE" /etc/network/interfaces; then | 11 | if grep -q "iface \+$INTERFACE" /etc/network/interfaces; then |
12 | case $ACTION in | 12 | case $ACTION in |
13 | add) | 13 | add) |
14 | ifconfig | grep -q "^$INTERFACE" || ifup $INTERFACE | 14 | ip addr show dev "$INTERFACE" up | grep -q "$INTERFACE" || ifup $INTERFACE |
15 | ;; | 15 | ;; |
16 | remove) | 16 | remove) |
17 | ifdown $INTERFACE | 17 | ifdown $INTERFACE |