From: Adrian Schmutzler Date: Sat, 21 Jul 2018 13:57:51 +0000 (+0200) Subject: alfred: Fix alfred.init X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F397%2Fhead;p=feed%2Frouting.git alfred: Fix alfred.init The commit 45db0e6 introduced curly brackets which are not correct syntax and thus broke the script. Signed-off-by: Adrian Schmutzler --- diff --git a/alfred/Makefile b/alfred/Makefile index 2daa5f7..8d6af33 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alfred PKG_VERSION:=2018.2 -PKG_RELEASE:=0 +PKG_RELEASE:=1 PKG_HASH:=2bbe9c4fc19a6529c40f7c872406fad8070d145ede970806bd2194e07fba8018 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/alfred/files/alfred.init b/alfred/files/alfred.init index b292650..89e33ab 100755 --- a/alfred/files/alfred.init +++ b/alfred/files/alfred.init @@ -98,7 +98,7 @@ start_service() { config_load "alfred" config_foreach alfred_start alfred - [ "$enable" = "0" ] && { exit 0 } + [ "$enable" = "0" ] && exit 0 procd_open_instance "alfred" procd_set_param command /usr/sbin/alfred