diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-06-05 13:18:41 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-06-21 14:17:25 +0200 |
commit | 97ae9e0ccbaf3627c51588b1e940407935e1c361 (patch) | |
tree | d1a7d76bcf75b5abf434479d95adc44695070d1f /scripts/config/mconf.c | |
parent | 25fc20db8b2aa587c146bee7b3f86bdbefd127f5 (diff) | |
download | upstream-97ae9e0ccbaf3627c51588b1e940407935e1c361.tar.gz upstream-97ae9e0ccbaf3627c51588b1e940407935e1c361.tar.bz2 upstream-97ae9e0ccbaf3627c51588b1e940407935e1c361.zip |
fstools: block-mount: fix restart of fstab service
Restarting service causes file-systems to be unmounted without being
mounted back. When this service was obsoleted it should have been
implemented in a way that all actions are ignored. Up to this commit
default handler was called when restart was requested. This default
handler just simply calls stop and start. That means that stop called
unmount but start just printed that this service is obsoleted.
This instead implements restart that just prints same message like start
does. It just calls start in reality. This makes restart unavailable for
call.
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry picked from commit 3ead9e7b743b1fbd3b07f5a72a16999abbec9347)
Diffstat (limited to 'scripts/config/mconf.c')
0 files changed, 0 insertions, 0 deletions