SOURCES: rc-scripts-sleep.patch (NEW) - sleep past set MAC

wolvverine wolvverine at pld-linux.org
Fri Oct 6 05:49:43 CEST 2006


Author: wolvverine                   Date: Fri Oct  6 03:49:43 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- sleep past set MAC

---- Files affected:
SOURCES:
   rc-scripts-sleep.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/rc-scripts-sleep.patch
diff -u /dev/null SOURCES/rc-scripts-sleep.patch:1.1
--- /dev/null	Fri Oct  6 05:49:43 2006
+++ SOURCES/rc-scripts-sleep.patch	Fri Oct  6 05:49:38 2006
@@ -0,0 +1,12 @@
+diff -uNr rc-scripts-0.4.1.0.orig/sysconfig/network-scripts/ifup rc-scripts-0.4.1.0/sysconfig/network-scripts/ifup
+--- rc-scripts-0.4.1.0.orig/sysconfig/network-scripts/ifup	2006-08-31 09:53:06.000000000 +0000
++++ rc-scripts-0.4.1.0/sysconfig/network-scripts/ifup	2006-10-06 03:34:36.000000000 +0000
+@@ -92,7 +92,7 @@
+ fi
+ 
+ if [ -n "$MACADDR" ]; then
+-	ip link set ${DEVICE} address ${MACADDR}
++	ip link set ${DEVICE} address ${MACADDR} && sleep 2
+ fi
+ 
+ ip link set ${DEVICE} multicast ${MULTICAST} ${ARP} down
================================================================


More information about the pld-cvs-commit mailing list