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 2cc985d..58db58b 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 c87b291..a885c54 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
 }