projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb0eed
)
base-files: supress service restart of umount
author
Karel Kočí
<cynerd@email.cz>
Sat, 29 Jun 2019 09:10:19 +0000
(11:10 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 4 Sep 2019 11:23:16 +0000
(13:23 +0200)
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
)
package/base-files/files/etc/init.d/umount
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/umount
b/package/base-files/files/etc/init.d/umount
index 57a4a6d90c3707c06ac5fa5ea26a783dd0a60d82..b764ae15829a0b45722de251f0ccd3a098f88c1a 100755
(executable)
--- a/
package/base-files/files/etc/init.d/umount
+++ b/
package/base-files/files/etc/init.d/umount
@@
-2,6
+2,11
@@
# Copyright (C) 2006 OpenWrt.org
STOP=90
+
+restart() {
+ :
+}
+
stop() {
sync
/bin/umount -a -d -r