diff options
author | Karel Kočí <cynerd@email.cz> | 2019-06-29 11:10:19 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-07-03 07:45:00 +0200 |
commit | 537b801c5490a85a3ef36456b12f064fc6c665a2 (patch) | |
tree | 715ca7a304a3bb280ddc61122cb8d94da8a79bbb /package/base-files | |
parent | c06f2a2dcb2350d00cc6bd8300ec3861353d96ae (diff) | |
download | upstream-537b801c5490a85a3ef36456b12f064fc6c665a2.tar.gz upstream-537b801c5490a85a3ef36456b12f064fc6c665a2.tar.bz2 upstream-537b801c5490a85a3ef36456b12f064fc6c665a2.zip |
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>
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/etc/init.d/umount | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount index 57a4a6d90c..b764ae1582 100755 --- 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 |