File: monit.bug-script

package info (click to toggle)
monit 1%3A5.34.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 8,164 kB
  • sloc: ansic: 30,803; yacc: 4,578; sh: 4,071; lex: 1,178; pascal: 478; makefile: 285
file content (19 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

mconf=/etc/monit/monitrc

if [ ! -r $mconf ]
then
  cat >&3 <<EOF

Monit config file $mconf is *NOT* readable by reportbug.
Please, consider to rerun reportbug as root and *carefully* examine
reportbug's output (e.g., monitrc content), before sending it out.
EOF
fi

printf "\nContents of /etc/monit/ directory:\n" >&3
/bin/ls -lR /etc/monit >&3 2>&1
printf "\n" >&3

exit 0