]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/stop
fstype: make copy of first sector in /env to avoid unaligned reads on the disk (for...
[plan9front.git] / rc / bin / stop
1 #!/bin/rc
2 U=`{cat /dev/user}
3 ps | sed -n '/^'$U' .* '$1'$/s%[^ ]*  *%~>/proc/%
4 s%  *.*%/ctl%
5 s%~%echo stop%p'