SOURCES: rc-scripts-dev_alias.patch - it should work now even with...

blues blues at pld-linux.org
Fri Mar 10 11:37:48 CET 2006


Author: blues                        Date: Fri Mar 10 10:37:48 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- it should work now even with aliasem on vlan interface

---- Files affected:
SOURCES:
   rc-scripts-dev_alias.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/rc-scripts-dev_alias.patch
diff -u SOURCES/rc-scripts-dev_alias.patch:1.6 SOURCES/rc-scripts-dev_alias.patch:1.7
--- SOURCES/rc-scripts-dev_alias.patch:1.6	Fri Mar 10 11:18:49 2006
+++ SOURCES/rc-scripts-dev_alias.patch	Fri Mar 10 11:37:42 2006
@@ -22,7 +22,7 @@
  	# detect network device type (ie. dummy, eth for dummy0, eth0 ..)
  	if [ -z "$DEVICETYPE" ]; then
 -		DEVICETYPE=$(echo $DEVICE | awk ' { gsub(/[0-9]*\.?[0-9]*$/,NUL); print $0 } ')
-+		DEVICETYPE=$(echo $DEVICE | awk ' { gsub(/[0-9]*\.?:?[0-9]*$/,NUL); print $0 } ')
++		DEVICETYPE=$(echo $DEVICE | awk ' { gsub(/[\.:]?[0-9]*[\.:]?[0-9]*$/,NUL); print $0 } ')
  	fi
  
  # Setup DEVICETYPE for special cases.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rc-scripts-dev_alias.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list