3
# DP: Fix location of awk binary
6
if [ $# -eq 3 -a "$2" = '-d' ]; then
9
elif [ $# -ne 1 ]; then
10
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
15
patch $pdir -f --no-backup-if-mismatch -p0 < $0
18
patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
21
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
26
--- bin/check_mailscanner.linux
27
+++ bin/check_mailscanner.linux
31
/bin/grep '[ ]'$bindir/$process |
32
- /bin/awk '{ print $1 }'`
33
+ /usr/bin/awk '{ print $1 }'`
34
if [ "$pid" = "" ]; then
35
# Quietly try to set the open_files limit
36
ulimit -n 2000 >/dev/null 2>&1