]> git.pld-linux.org Git - packages/dhcp.git/commitdiff
- own pidfile comparing to dhcpd -4
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 19 Nov 2009 20:27:53 +0000 (20:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcp6.init -> 1.5

dhcp6.init

index e0e8f0a4707fb63312c2781bceed9600566a956a..469171e9a279efd73d4bae7c3fc95ac493b9d3fa 100644 (file)
@@ -36,7 +36,7 @@ check_device_up()
 # 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 @@ start() {
 
        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
 }
This page took 0.482685 seconds and 4 git commands to generate.