dropbear: fix service trigger syntax error

The classic single '&' when double '&&' conditional was meant.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
This commit is contained in:
Kevin Darbyshire-Bryant 2017-06-15 12:58:25 +01:00 committed by Hans Dedecker
parent 19ac879954
commit 8f4085e2fd
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dropbear PKG_NAME:=dropbear
PKG_VERSION:=2017.75 PKG_VERSION:=2017.75
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:= \

View File

@ -134,7 +134,7 @@ service_triggers()
config_load "${NAME}" config_load "${NAME}"
config_foreach load_interfaces dropbear config_foreach load_interfaces dropbear
[ -n "${interfaces}" ] & { [ -n "${interfaces}" ] && {
for n in $interfaces ; do for n in $interfaces ; do
procd_add_interface_trigger "interface.*" $n /etc/init.d/dropbear reload procd_add_interface_trigger "interface.*" $n /etc/init.d/dropbear reload
done done