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>
This commit is contained in:
Karel Kočí 2019-06-29 11:10:19 +02:00 committed by Petr Štetiar
parent c06f2a2dcb
commit 537b801c54

View File

@ -2,6 +2,11 @@
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
STOP=90 STOP=90
restart() {
:
}
stop() { stop() {
sync sync
/bin/umount -a -d -r /bin/umount -a -d -r