ssm-services/init.d/mount
fbt 2205f72a2e watchman -> ssm
Signed-off-by: fbt <fbt@fleshless.org>
2017-07-13 16:09:42 +03:00

13 lines
169 B
Plaintext
Executable File

#!/usr/bin/env ssm
service_type='oneshot'
service_command=( /usr/bin/mount -a )
pre_start() {
[[ -w / ]] || { mount -o remount,rw /; }
}
post_start() {
swapon -a
}