Fix broken init scripts for ahcpd (#3550)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Jun 2008 13:21:16 +0000 (13:21 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Jun 2008 13:21:16 +0000 (13:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11505 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
 }