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

Stefan Wold ratler at lunar-linux.org
Tue Nov 8 12:08:44 UTC 2005


Author: ratler
Date: 2005-11-08 12:08:43 +0000 (Tue, 08 Nov 2005)
New Revision: 17217

Modified:
   moonbase/trunk/net/net-tools/init.d/network
Log:
dhcpcd changed location of the pidfile to /var/run

Modified: moonbase/trunk/net/net-tools/init.d/network
===================================================================
--- moonbase/trunk/net/net-tools/init.d/network	2005-11-08 01:36:38 UTC (rev 17216)
+++ moonbase/trunk/net/net-tools/init.d/network	2005-11-08 12:08:43 UTC (rev 17217)
@@ -75,7 +75,7 @@
 		fi;
 		case $DHCP_CLIENT in
 		    [dD][hH][cC][pP][cC][dD])
-		    	PIDFILE=/etc/dhcpc/dhcpcd-$1.pid
+		    	PIDFILE=/var/run/dhcpcd-$1.pid
 			RUNFILE=/usr/sbin/dhcpcd
 		    ;;
 		    [dD][hH][cC][lL][iI][eE][nN][tT])
@@ -170,7 +170,7 @@
 	        case $DHCP_CLIENT in
 		    [dD][hH][cC][pP][cC][dD])
 			KILLCMD="dhcpcd -k"
-		    	PIDFILE=/etc/dhcpc/dhcpcd-$1.pid
+		    	PIDFILE=/var/run/dhcpcd-$1.pid
 		    ;;
 		    [dD][hH][cC][lL][iI][eE][nN][tT])
 		    	PIDFILE=/var/run/dhclient-$1.pid



More information about the Lunar-commits mailing list