ssm-services/services/mount

13 lines
169 B
Plaintext
Raw Normal View History

#!/usr/bin/env ssm
2013-09-28 23:32:39 +00:00
service_type='oneshot'
service_command=( /usr/bin/mount -a )
pre_start() {
[[ -w / ]] || { mount -o remount,rw /; }
}
2013-09-28 23:32:39 +00:00
post_start() {
swapon -a
}