From 85345bf820164ed4ccab29ed106c9f9ea700724a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 29 Apr 2018 16:21:50 +0200 Subject: [PATCH] Templates: more tweaks --- Templates/actions.d | 2 +- Templates/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Templates/actions.d b/Templates/actions.d index e05a6ed7a..c5e1385c9 100644 --- a/Templates/actions.d +++ b/Templates/actions.d @@ -1 +1 @@ -/usr/local/etc/rc.d/configd restart +if [ -f /usr/local/etc/rc.d/configd ]; then /usr/local/etc/rc.d/configd restart; fi diff --git a/Templates/configure b/Templates/configure index 3c0a42119..c95feae6a 100644 --- a/Templates/configure +++ b/Templates/configure @@ -1 +1 @@ -if [ -f /usr/local/etc/rc.configure_plugins ]; then /usr/local/etc/rc.configure_plugins %%ARG%%; fi +if [ -f /usr/local/etc/rc.configure_plugins ]; then echo "Reloading plugin configuration"; /usr/local/etc/rc.configure_plugins %%ARG%%; fi