Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18623
Modified Files:
network
Log Message:
Eliminate error message if NIC module not specifically set.
Index: network
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/network,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- network 9 Apr 2008 12:55:11 -0000 1.35
+++ network 10 Jun 2009 01:08:48 -0000 1.36
@@ -175,7 +175,8 @@
#
if [ "$ONBOOT" = "yes" -o "$ONLY_INTERFACE" = "$IF" ]; then
if [ -n "$MODULE" ]; then
- modprobe $MODULE $MODULE_OPTS > /dev/null
+ [ "$MODULE" != "UNKNOWN" ] && \
+ modprobe $MODULE $MODULE_OPTS > /dev/null
fi
|