fix quoting of daemon name

The current quoting did not allow substitution and resulted in log messages with
the prefix "${DAEMON}[hotplug]".
This commit is contained in:
Philipp Borgers 2016-02-12 18:59:43 +01:00
parent 5c203e3e63
commit 8b767e9382
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
case "${ACTION}" in
ifup)
. /etc/rc.common /etc/init.d/${DAEMON} enabled && {
logger -t '${DAEMON}[hotplug]' -p daemon.info 'reloading configuration'
logger -t "${DAEMON}[hotplug]" -p daemon.info 'reloading configuration'
. /etc/rc.common /etc/init.d/${DAEMON} reload
}
;;