From 89ab23786efa01b5b83d1d57ce66d461ee49a832 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 31 Jan 2021 18:23:48 +0100 Subject: [PATCH] alfred: add "network" to reload triggers alfred uses properties from network interfaces, like the MAC address. Since these might be altered by /etc/config/network, alfred should be restarted on change. Signed-off-by: Adrian Schmutzler --- alfred/Makefile | 2 +- alfred/files/alfred.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alfred/Makefile b/alfred/Makefile index 14a2ca8f2..8ca6ecb82 100644 --- a/alfred/Makefile +++ b/alfred/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alfred PKG_VERSION:=2021.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION) diff --git a/alfred/files/alfred.init b/alfred/files/alfred.init index 0c35e65ca..5bac2b405 100755 --- a/alfred/files/alfred.init +++ b/alfred/files/alfred.init @@ -132,7 +132,7 @@ start_service() { } service_triggers() { - procd_add_reload_trigger "alfred" + procd_add_reload_trigger "alfred" "network" } stop_service() {