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 <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2018-07-21 15:57:51 +02:00
parent 4c7b4a349b
commit 52e2545198
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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