|
From: Heiko Z. <smi...@us...> - 2009-12-13 20:52:55
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv27501/config/etc/init.d Modified Files: network Log Message: - closed bug #30 - In Setup: can't select 'none' or 'default' for network adapter type setup and network init script now support the module 'autoselect', which is whatever the kernel decides to load for the nic Index: network =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/network,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- network 19 Nov 2009 04:28:13 -0000 1.38 +++ network 13 Dec 2009 20:52:45 -0000 1.39 @@ -190,8 +190,9 @@ # if [ "$ONBOOT" = "yes" -o "$ONLY_INTERFACE" = "$IF" ]; then if [ -n "$MODULE" ]; then - [ "$MODULE" != "UNKNOWN" ] && \ + if [ "$MODULE" != "UNKNOWN" ] && [ "$MODULE" != "autoselect" ] ; then modprobe $MODULE $MODULE_OPTS > /dev/null + fi fi |