watchman -> ssm

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2017-07-13 16:09:42 +03:00
parent 3953df0dba
commit 2205f72a2e
71 changed files with 198 additions and 212 deletions

View File

@@ -1,11 +1,12 @@
#!/usr/bin/env watchman
#!/usr/bin/env ssm
service_type='oneshot'
service_command=( /usr/bin/mount -a )
spawn() {
pre_start() {
[[ -w / ]] || { mount -o remount,rw /; }
mount -a
swapon -a
}
unset stop
post_start() {
swapon -a
}