Debian Codegraph @

scripts/kill-avarice

raw symbols SCIP
1 #!/bin/sh
2 if [ -f /usr/bin/cygpath.exe ]; then
3 # cygwin
4 while
5 avaricepid=`ps -es | grep '/avarice' | head -1 | cut -c2-7`
6 [ "$avaricepid" != "" ]
7 do
8 kill -9 $avaricepid
9 done
10 else
11 # linux, probably some others at least
12 killall -q avarice
13 fi