grml-bridge: bring network devices up by default v0.2.7
authorMichael Prokop <mika@grml.org>
Thu, 9 Apr 2009 09:38:26 +0000 (11:38 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 9 Apr 2009 09:38:26 +0000 (11:38 +0200)
debian/changelog
sbin/grml-bridge

index 79b69ca..e94d14f 100644 (file)
@@ -1,3 +1,11 @@
+grml-network (0.2.7) unstable; urgency=low
+
+  * grml-bridge: bring network devices up by default using
+    'ifconfig $DEV 0.0.0.0 up'. This makes configuration more
+    reliable according to my tests.
+
+ -- Michael Prokop <mika@grml.org>  Thu, 09 Apr 2009 11:37:25 +0200
+
 grml-network (0.2.6) unstable; urgency=low
 
   * grml-bridge:
index c74c8cc..b15ad98 100755 (executable)
@@ -51,6 +51,14 @@ case "$1" in
                     ;;
             esac
 
+            einfo "Bringing network device up: "
+            eindent
+               for i in $BRIDGE_DEVICES ; do
+                   einfo "$i"
+                   ifconfig "$i" 0.0.0.0 up ; eend $?
+               done
+            eoutdent
+
             einfo "Enabling promiscous mode on: "
             eindent
                for i in $BRIDGE_DEVICES ; do