[package] isc-dhcp: only run on requested interfaces (#11008)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33049 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-08-07 16:09:23 +00:00
parent 2871c5b46c
commit 69d29cdb73
3 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=isc-dhcp
UPSTREAM_NAME:=dhcp
PKG_VERSION:=4.2.4
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(UPSTREAM_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.isc.org/isc/dhcp/$(PKG_VERSION)

View File

@ -10,9 +10,9 @@ start() {
if [ ! -e $lease_file ]; then
touch $lease_file
fi
/usr/sbin/dhcpd -q -cf $config_file -lf $lease_file -pf $pid_file
/usr/sbin/dhcpd -q -cf $config_file -lf $lease_file -pf $pid_file $dhcp_ifs
if [ $? -ne 0 ]; then
return 1
fi

View File

@ -10,9 +10,9 @@ start() {
if [ ! -e $lease_file ]; then
touch $lease_file
fi
/usr/sbin/dhcpd -q -6 -cf $config_file -lf $lease_file -pf $pid_file
/usr/sbin/dhcpd -q -6 -cf $config_file -lf $lease_file -pf $pid_file $dhcp_ifs
if [ $? -ne 0 ]; then
return 1
fi