mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 856775ff84f12ebf17389a89978371de2f7956bd
parent 8ab54ef1ded87b6a83407bcf1b132e42f87a6940
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 30 May 2018 12:14:30 +0200

threshold

Diffstat:
df-alert | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/df-alert b/df-alert @@ -1,7 +1,7 @@ #!/bin/bash EMAIL=${1:-a3nm@localhost} -THRESHOLD=${2:-95} +THRESHOLD=${2:-97} function do_check() { CURRENT=$(df "$1" | grep / | awk '{ print $5}' | sed 's/%//g')