Fix broken init scripts for ahcpd (#3550)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 16 Jun 2008 13:21:16 +0000 (13:21 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 16 Jun 2008 13:21:16 +0000 (13:21 +0000)
SVN-Revision: 11505

ipv6/ahcpd/files/ahcpd.config
ipv6/ahcpd/files/ahcpd.init

index 2cc985de6abf672dd07c157497ab734f1f63dabc..58db58bc5b6a033f223993f2687f3b51744c0ff8 100755 (executable)
@@ -1,4 +1,4 @@
 config ahcpd
-       option interfaces "wl0 alpha-beta huponomos"
-       option no_dns true
+       option interfaces "wl0"
+       option no_dns false
        option no_ipv4 true
index c87b291f7012e79580dbcc05da9c78e47fec7934..a885c5477b56de617f4b13fae11be7a8484874eb 100644 (file)
@@ -19,7 +19,7 @@ start() {
        if [ -e $pidfile ] ; then
                echo "$pidfile exists -- not starting ahcpd." >&2
        else
-               /usr/bin/ahcpd -D -I $pidfile ${no_ipv4:+-s} ${no_dns:+-N} $authority $interfaces
+               /usr/sbin/ahcpd -D -I $pidfile ${no_ipv4:+-s} ${no_dns:+-N} $authority $interfaces
        fi
 }