ahcpd: fix init script
eval is necessary because $args introduces quotes git-svn-id: svn://svn.openwrt.org/openwrt/packages@36153 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
89cca70763
commit
9e1dfdd62f
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ahcpd
|
||||
PKG_VERSION:=0.53
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
|
||||
|
@ -97,7 +97,7 @@ start() {
|
||||
config_foreach ahcp_config ahcpd
|
||||
config_foreach ahcp_server ahcpd
|
||||
[ -z "$interfaces" ] && return 0
|
||||
service_start /usr/sbin/ahcpd -D $args $interfaces
|
||||
eval "service_start /usr/sbin/ahcpd -D $args $interfaces"
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user