Do not forget about exit codes, grr

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-01-08 02:47:28 +03:00
parent faae8b8821
commit 6033c3cb18

View File

@ -4,7 +4,9 @@ service_type='oneshot'
service_command=( /usr/bin/mount -a )
pre_start() {
[[ -w / ]] || { mount -o remount,rw /; }
if [[ -w / ]]; then
mount -o remount,rw /
fi
}
post_start() {