Author: glen Date: Mon Feb 27 14:47:28 2006 New Revision: 7034 Modified: rc-scripts/trunk/rc.d/init.d/network Log: In vserver /sbin/ip is not required.
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 Mon Feb 27 14:47:28 2006 @@ -39,11 +39,6 @@ fi fi -if [ ! -x /sbin/ip ]; then - nls "%s is missing. Can't continue." "/sbin/ip" - exit 1 -fi - ###### # initialize networking: # - check IPv4, IPv6, IPX can be handled by system @@ -53,6 +48,12 @@ # - setup lo interface network_init() { + +if [ ! -x /sbin/ip ]; then + nls "%s is missing. Can't continue." "/sbin/ip" + exit 1 +fi + # Modprobe needed devices modprobe_net _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit