Set PATH to prevent all sorts of problems.
Paweł Więcek
15 years ago
15 | 15 | # 2.4 Updated command line handler to avois username/signal name mismatches |
16 | 16 | # 2.5 Debian specific updates |
17 | 17 | # 2.6 Properly slay oneself, fixed misleading error messages |
18 | # 3.7 Set PATH to prevent all sorts of problems with it coming from outside | |
19 | ||
20 | PATH=/usr/sbin:/sbin:/usr/bin:/bin | |
21 | export PATH | |
18 | 22 | |
19 | 23 | USER=`whoami` |
20 | 24 | SIGNAL='-KILL' |