forked from Ivasoft/openwrt
ltq-vdsl-app: shutdown upon sigterm
procd sends sigterm to stop daemons, hook it up. This speeds up the shutdown sequence and gets rid of the following message: daemon.info procd: Instance dsl_control::instance1 pid 15408 not stopped on SIGTERM, sending SIGKILL instead Signed-off-by: Andre Heider <a.heider@gmail.com> Tested-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
f5f01bcacd
commit
4ba6fad7f7
@@ -307,8 +307,6 @@ start_service() {
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
# do not use dsl_cmd to not block when this is locked up by some other proess
|
||||
echo quit > /tmp/pipe/dsl_cpe0_cmd
|
||||
DSL_NOTIFICATION_TYPE="DSL_INTERFACE_STATUS" \
|
||||
DSL_INTERFACE_STATUS="DOWN" \
|
||||
/sbin/dsl_notify.sh
|
||||
|
||||
Reference in New Issue
Block a user