Author: baggins
Date: Thu Aug 10 14:14:14 2006
New Revision: 7656

Modified:
   rc-scripts/trunk/rc.d/init.d/network
Log:
- check for /usb/bin/wc existence (in case of /usr over NFS)


Modified: rc-scripts/trunk/rc.d/init.d/network
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/network        (original)
+++ rc-scripts/trunk/rc.d/init.d/network        Thu Aug 10 14:14:14 2006
@@ -57,7 +57,7 @@
        modprobe_net
 
        # Setup interfaces names
-       if [ -x /sbin/nameif -a -f /etc/mactab ] && [ $(egrep -vs '^(#| *$)' 
/etc/mactab | wc -l) -gt 0 ]; then
+       if [ -x /sbin/nameif -a -f /etc/mactab -a -x /usb/bin/wc ] && [ $(egrep 
-vs '^(#| *$)' /etc/mactab | wc -l) -gt 0 ]; then
                run_cmd "Setting interfaces names (nameif)" /sbin/nameif
        fi
 
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to