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,11 +1,12 @@
#!/usr/bin/env watchman
# This is a script to set up the links in /dev in absence of e?(u|s?m)dev.
# Run this _after_ miscfs.
service_type='oneshot'
# Config moved to conf.d
start() {
spawn() {
for l in "${cfg_links[@]}"; do
IFS=';' read dest link <<< "$l"