mirror of
https://github.com/openwrt/routing.git
synced 2025-02-23 10:26:14 +00:00
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
|