1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-15 11:43:55 +02:00

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

View File

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