[Lunar-commits] r23822 - moonbase/trunk/net/net-tools/init.d

Samuel Verstraete elangelo at lunar-linux.org
Mon Mar 26 23:01:15 CEST 2007


Author: elangelo
Date: 2007-03-26 23:01:15 +0200 (Mon, 26 Mar 2007)
New Revision: 23822

Modified:
   moonbase/trunk/net/net-tools/init.d/network
Log:
fixing path for dhcpcd


Modified: moonbase/trunk/net/net-tools/init.d/network
===================================================================
--- moonbase/trunk/net/net-tools/init.d/network	2007-03-26 18:12:28 UTC (rev 23821)
+++ moonbase/trunk/net/net-tools/init.d/network	2007-03-26 21:01:15 UTC (rev 23822)
@@ -126,7 +126,7 @@
 			case $DHCP_CLIENT in
 			    [dD][hH][cC][pP][cC][dD])
 				PIDFILE=/var/run/dhcpcd-$1.pid
-				RUNFILE=/usr/sbin/dhcpcd
+				RUNFILE=/sbin/dhcpcd
 			    ;;
 			    [dD][hH][cC][lL][iI][eE][nN][tT])
 				PIDFILE=/var/run/dhclient-$1.pid
@@ -220,7 +220,7 @@
 
 		case $DHCP_CLIENT in
 		    [dD][hH][cC][pP][cC][dD])
-			KILLCMD="dhcpcd -k"
+			KILLCMD="dhcpcd -k $1"
 			PIDFILE=/var/run/dhcpcd-$1.pid
 		    ;;
 		    [dD][hH][cC][lL][iI][eE][nN][tT])



More information about the Lunar-commits mailing list