shithub: riscv

ref: 4e7efadf120c3357a251b6b2268ec6f3dfb1bd22
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'