Do not forget about exit codes, grr
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
faae8b8821
commit
6033c3cb18
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user