File: kill-runaway-crded

package info (click to toggle)
alien-arena 7.40-2
  • links: PTS, VCS
  • area: contrib
  • in suites: squeeze
  • size: 4,208 kB
  • ctags: 11,206
  • sloc: ansic: 84,080; makefile: 754; ruby: 438; sh: 301; xml: 9
file content (9 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh

### This script has been patched for distribution to Debian systems.

for TPPID in `ps -eo pid,comm | grep crded | cut -d' ' -f1`
do
/bin/kill -9 $TPPID
rm -f `ls $HOME/.config/alien-arena/alien-arena-server.*.pid`
done