projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c06f2a2
)
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
Petr Štetiar
<ynezz@true.cz>
Wed, 3 Jul 2019 05:45:00 +0000
(07:45 +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>
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