fix quoting of daemon name 150/head
authorPhilipp Borgers <borgers@mi.fu-berlin.de>
Fri, 12 Feb 2016 17:59:43 +0000 (18:59 +0100)
committerPhilipp Borgers <borgers@mi.fu-berlin.de>
Fri, 12 Feb 2016 17:59:43 +0000 (18:59 +0100)
The current quoting did not allow substitution and resulted in log messages with
the prefix "${DAEMON}[hotplug]".

oonf-init-scripts/files/oonf_hotplug.sh

index b230b9451de1b4193a65197f56f21d177c38e04e..e0002b3d8d1d3ae3bb9f874d584dddbc4ff49101 100755 (executable)
@@ -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
                }
        ;;