Invasive oneshot services now use spawn()

This commit is contained in:
2014-07-28 07:52:32 +04:00
parent 902f317440
commit 8e225fa577
13 changed files with 23 additions and 18 deletions

View File

@@ -1,8 +1,10 @@
#!/usr/bin/env watchman
depends miscfs
service_type='oneshot'
start() {
spawn() {
[[ -w / ]] || { mount -o remount,rw /; }
mount -a
swapon -a