diff --git a/rc/bin/Kill b/rc/bin/Kill index d0a557ac7..c885e6998 100755 --- a/rc/bin/Kill +++ b/rc/bin/Kill @@ -1,4 +1,5 @@ #!/bin/rc +rfork e for(i){ ps | sed -n '/ '^$i^'$/s%^[^ ]* *([^ ]*).*%chmod 666 /proc/\1/ctl;@{echo kill>/proc/\1/ctl}%p' }