shithub: riscv

ref: 2994fccbe1b881c3fa2838926d22af8aeda89640
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'