mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 19:14:31 +04: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:
@@ -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
|
||||
}
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user