rc-scripts/trunk/rc.d/init.d/network
glen
cvs at pld-linux.org
Mon Feb 27 14:47:31 CET 2006
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
More information about the pld-cvs-commit
mailing list