summaryrefslogtreecommitdiff
path: root/bin/check.sh
diff options
context:
space:
mode:
authorHorus32014-07-23 13:57:01 +0200
committerHorus32014-07-23 13:57:01 +0200
commit0ad31ff4b26686c7d3f851b51c1c5f885fda8730 (patch)
tree1c519a465f50e2fc3595f300d573487ede4cfbe1 /bin/check.sh
parent363f7b89a7d38ef4fc99f81780b5c2d08fa12203 (diff)
downloaddotfiles-0ad31ff4b26686c7d3f851b51c1c5f885fda8730.tar.gz
added proxy script
Diffstat (limited to 'bin/check.sh')
-rwxr-xr-xbin/check.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/check.sh b/bin/check.sh
index ebbe279..5c9b938 100755
--- a/bin/check.sh
+++ b/bin/check.sh
@@ -24,6 +24,7 @@ usage(){
echo "-c --check add a process name to check"
echo "-p --print print list of process we check for"
echo "-q --quiet surpress output"
+ echo "-v --verbose be verbose"
echo "-m --mailto ADRESS send report to ADRESS"
echo "-n --nonotice don't send mail"
echo "-h --help prints this help"
@@ -50,6 +51,9 @@ while true; do
-q|--quiet) QUIET=1
shift
;;
+ -v|--verbose) QUIET=0
+ shift
+ ;;
-m|--mailto)
if [ "x$2" != "x" ]; then
NOTICETO="$2"