Fix broken init scripts for ahcpd (#3550)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11505 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1d73e080ac
commit
d3948a6d59
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user