]> git.pld-linux.org Git - packages/dhcp.git/blobdiff - dhcp6.init
- Fix the pid file path in dhcp6.init. This fixes "/etc/init.d/dhcpd6 restart".
[packages/dhcp.git] / dhcp6.init
index e2a38ad9866c306e4c80f80ad4ede99dde7a54eb..efbe991e334cfc20e8193d60c4ffbbfa4dfb9ef3 100644 (file)
@@ -36,7 +36,7 @@ check_device_up()
 # configtest itself
 configtest() {
        local rc=0
-       /sbin/dhcpd -6 -t -T -cf /etc/dhcpd6.conf -pf /var/run/dhpcd6.pid || rc=$?
+       /sbin/dhcpd -6 -t -T -cf /etc/dhcpd6.conf -pf /var/run/dhcpd6.pid || 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 -q -cf /etc/dhcpd6.conf -pf /var/run/dhpcd6.pid $DHCPD_INTERFACES
+       daemon /sbin/dhcpd -6 -q -cf /etc/dhcpd6.conf -pf /var/run/dhcpd6.pid $DHCPD_INTERFACES
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd6
 }
This page took 0.030507 seconds and 4 git commands to generate.