shithub: riscv

ref: e49d187dff43a823a6c987c5bb595d1fa52cc02f
dir: /rc/bin/start/

View raw version
#!/bin/rc
U=`{cat /dev/user}
ps | sed -n '/^'$U' .*Stopped.* '$1'$/s%[^ ]*  *%~>/proc/%
s%  *.*%/ctl%
s%~%echo start%p'