---
 ifup |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ifup b/ifup
index 83f6522..3878c41 100755
--- a/ifup
+++ b/ifup
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+# bail immediatly if the interface is already up
+[ -f "/net.$1.up" ] && exit 0
+
 # loopback is always handled the same way
 [ "$1" = "lo" ] && {
     ip link set lo up
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to