]> git.pld-linux.org Git - packages/dhcp.git/blobdiff - dhcp6.init
- rel 3; separate dhcpd6.conf for dhcpd6
[packages/dhcp.git] / dhcp6.init
index 64686fd105abb355d9237d17be89f254b625e043..13820cdca62e5dabee4f76452cf02f0515cc373a 100644 (file)
@@ -36,7 +36,7 @@ check_device_up()
 # configtest itself
 configtest() {
        local rc=0
-       /sbin/dhcpd -6 -pf /var/run/dhpcd6.pid -q -t -T || rc=$?
+       /sbin/dhcpd -6 -pf -cf /etc/dhcpd6.conf /var/run/dhpcd6.pid -q -t -T || rc=$?
 
        # check if interfaces specified exist and have addresses
        for i in $DHCPD_INTERFACES; do
@@ -94,7 +94,7 @@ start() {
 
        checkconfig
        msg_starting "DHCP IPv6 Server"
-       daemon /sbin/dhcpd -6 -pf /var/run/dhpcd6.pid -q $DHCPD_INTERFACES
+       daemon /sbin/dhcpd -6 -pf -cf /etc/dhcpd6.conf /var/run/dhpcd6.pid -q $DHCPD_INTERFACES
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd6
 }
This page took 0.042835 seconds and 4 git commands to generate.