summaryrefslogtreecommitdiff
path: root/packages/udev/files/network.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/udev/files/network.sh')
-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