mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-08 11:47:51 +08:00
8b767e9382
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
|