Invasive oneshot services now use spawn()
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env watchman
|
||||
|
||||
depends miscfs
|
||||
|
||||
service_type='oneshot'
|
||||
|
||||
start() {
|
||||
spawn() {
|
||||
[[ -w / ]] || { mount -o remount,rw /; }
|
||||
mount -a
|
||||
swapon -a
|
||||
|
Reference in New Issue
Block a user