packages: dhcp/dhcp6.init - own pidfile comparing to dhcpd -4
glen
glen at pld-linux.org
Thu Nov 19 21:27:58 CET 2009
Author: glen Date: Thu Nov 19 20:27:58 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- own pidfile comparing to dhcpd -4
---- Files affected:
packages/dhcp:
dhcp6.init (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/dhcp/dhcp6.init
diff -u packages/dhcp/dhcp6.init:1.4 packages/dhcp/dhcp6.init:1.5
--- packages/dhcp/dhcp6.init:1.4 Thu Nov 19 21:25:10 2009
+++ packages/dhcp/dhcp6.init Thu Nov 19 21:27:53 2009
@@ -36,7 +36,7 @@
# configtest itself
configtest() {
local rc=0
- /sbin/dhcpd -6 -q -t -T || rc=$?
+ /sbin/dhcpd -6 -pf /var/run/dhpcd6.pid -q -t -T || rc=$?
# check if interfaces specified exist and have addresses
for i in $DHCPD_INTERFACES; do
@@ -87,7 +87,7 @@
checkconfig
msg_starting "DHCP IPv6 Server"
- daemon /sbin/dhcpd -6 -q $DHCPD_INTERFACES
+ daemon /sbin/dhcpd -6 -pf /var/run/dhpcd6.pid -q $DHCPD_INTERFACES
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dhcp/dhcp6.init?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list