Stop all services before unmounting filesystems

K99umount has been moved to K90umount as of OpenWrt 19.07, to make
room for init scripts that may need to run after umount. We need to
stop all services before unmounting the filesystems. The stop()
function is dead code when procd is being used and can be removed.
This commit is contained in:
Erik Karlsson 2021-02-01 23:27:49 +01:00 committed by Sukru Senli
parent 2f51c4fc69
commit 06665246e5
3 changed files with 3 additions and 8 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh /etc/rc.common
START=12
STOP=91
STOP=89
USE_PROCD=1
NAME=peripheral_manager

View file

@ -1,7 +1,7 @@
#!/bin/sh /etc/rc.common
START=14
STOP=96
STOP=89
USE_PROCD=1
NAME=questd
@ -13,11 +13,6 @@ start_service() {
procd_close_instance
}
stop() {
#stop_service() is called after procd killed the service
echo ;
}
service_triggers()
{
procd_add_reload_trigger network wireless

View file

@ -1,7 +1,7 @@
#!/bin/sh /etc/rc.common
START=14
STOP=96
STOP=89
USE_PROCD=1