mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-21 11:35:33 +00:00
base-files: supress service restart of umount
Restart is in default implemented so it calls stop and start. This is pretty unsafe to call on umount service. This service should not do anything on restart the same way as on start. Only use of this service is on stop. Signed-off-by: Karel Kočí <cynerd@email.cz> (cherry picked from commit 537b801c5490a85a3ef36456b12f064fc6c665a2)
This commit is contained in:
parent
3cb0eed8a1
commit
ec49bb64e7
@ -2,6 +2,11 @@
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
|
||||
STOP=90
|
||||
|
||||
restart() {
|
||||
:
|
||||
}
|
||||
|
||||
stop() {
|
||||
sync
|
||||
/bin/umount -a -d -r
|
||||
|
Loading…
x
Reference in New Issue
Block a user