ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/net-detect

sparky cvs at pld-linux.org
Wed Mar 1 21:03:52 CET 2006


Author: sparky
Date: Wed Mar  1 21:03:46 2006
New Revision: 7064

Modified:
   ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/net-detect
Log:
- backup only valid ifcfg-eth* files


Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/net-detect
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/net-detect	(original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/net-detect	Wed Mar  1 21:03:46 2006
@@ -13,7 +13,7 @@
 verbose 1 -G "Setting network cards"
 
 confnet() {
-	for CONF in /etc/sysconfig/interfaces/ifcfg-eth*; do
+	for CONF in /etc/sysconfig/interfaces/ifcfg-eth[0-9]{,[0-9]}; do
 		mv -f $CONF $CONF.backup
 	done
 	


More information about the pld-cvs-commit mailing list