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:
parent
5c203e3e63
commit
8b767e9382
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
case "${ACTION}" in
|
case "${ACTION}" in
|
||||||
ifup)
|
ifup)
|
||||||
. /etc/rc.common /etc/init.d/${DAEMON} enabled && {
|
. /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
|
. /etc/rc.common /etc/init.d/${DAEMON} reload
|
||||||
}
|
}
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue