ref: 9840c50a3e0d2392a9102484e0caf970d3153790 dir: /rc/bin/stop/
#!/bin/rc U=`{cat /dev/user} ps | sed -n '/^'$U' .* '$1'$/s%[^ ]* *%~>/proc/% s% *.*%/ctl% s%~%echo stop%p'