mirror of
https://github.com/coolsnowwolf/routing.git
synced 2025-05-02 23:11:43 +08:00
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
|