Author: sparky
Date: Wed Mar 1 11:00:51 2006
New Revision: 7058
Modified:
ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/net-detect
Log:
- fix "alias eth0 *" detection
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 11:00:51 2006
@@ -67,7 +67,7 @@
fi
fi
- if egrep -vq "^alias eth0" /etc/modprobe.conf; then
+ if ! egrep -q "^[[:space:]]*alias[[:space:]]*eth0" /etc/modprobe.conf;
then
verbose 2 -B " +-Autodetecting network"
confnet $(/usr/bin/pcidev /m net | sed 's/$/:dhcp/')
fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit