13 lines
169 B
Plaintext
Executable File
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
|
|
}
|