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