commit 5edd1dc811bbb55d23c11d114c7f27a75c1672ec parent 7ee228983d305ff169baba60f105dcaa93b6aab7 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sat, 23 Nov 2019 13:13:45 +0100 check disks Diffstat:
df-alert | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/df-alert b/df-alert @@ -22,3 +22,9 @@ then do_check '/data' fi +# other disks +df | awk '{print $6}' | grep '^/mnt' | while read l +do + do_check "$l" +done +