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 b230b94..e0002b3 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
                }
        ;;