mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
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:
parent
2f51c4fc69
commit
06665246e5
3 changed files with 3 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=12
|
||||
STOP=91
|
||||
STOP=89
|
||||
|
||||
USE_PROCD=1
|
||||
NAME=peripheral_manager
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=14
|
||||
STOP=96
|
||||
STOP=89
|
||||
|
||||
USE_PROCD=1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue