mirror of
https://git.openwrt.org/feed/routing.git
synced 2024-06-26 17:47:32 +02:00
![Philipp Borgers](/assets/img/avatar_default.png)
The current quoting did not allow substitution and resulted in log messages with the prefix "${DAEMON}[hotplug]".
11 lines
229 B
Bash
Executable File
11 lines
229 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "${ACTION}" in
|
|
ifup)
|
|
. /etc/rc.common /etc/init.d/${DAEMON} enabled && {
|
|
logger -t "${DAEMON}[hotplug]" -p daemon.info 'reloading configuration'
|
|
. /etc/rc.common /etc/init.d/${DAEMON} reload
|
|
}
|
|
;;
|
|
esac
|