[Lunar-commits] CVS: moonbase/net/net-tools/init.d network, 1.9, 1.10

Auke Kok sofar at lunar-linux.org
Tue Oct 5 08:24:46 UTC 2004


Update of /var/cvs/lunar/moonbase/net/net-tools/init.d
In directory espresso.foo-projects.org:/tmp/cvs-serv9605

Modified Files:
	network 
Log Message:
Fix #465, also let udhcpc shutdown (at least attempt properly)


Index: network
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/net-tools/init.d/network,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- network	18 Dec 2003 01:00:46 -0000	1.9
+++ network	5 Oct 2004 08:24:44 -0000	1.10
@@ -39,7 +39,7 @@
 
 	# load module if specified
 	if [ -n "$MODULE" ]; then
-	    modprobe $MODULE;
+	    modprobe $MODULE $MODULE_OPTIONS
 	fi;
 
 	if ( [ -n "$WIRELESS_MODE" ] || [ -n "$WIRELESS_KEY" ] || [ -n "$WIRELESS_RATE" ] || [ -n "$WIRELESS_ESSID" ] ); then
@@ -162,6 +162,9 @@
 		    [dD][hH][cC][lL][iI][eE][nN][tT])
 		    	PIDFILE=/var/run/dhclient-$1.pid
 		    ;;
+		    [uU][dD][hH][cC][pP][cC])
+		        PIDFILE=/var/run/udhcpc-$1.pid
+		    ;;
 		esac
 		if [ -e $PIDFILE ]; then
 		    if [ -z "$KILLCMD" ]; then



More information about the Lunar-commits mailing list