Actualiser check_storage.sh

This commit is contained in:
2026-03-05 10:26:13 +00:00
parent fccae28313
commit 7e6bd065f3

View File

@@ -1,6 +1,6 @@
#!/bin/bash
limit=1
WEBHOOK_URL="https://discord.com/api/webhooks/1479039017264746536/qwdnBsW1yPdtzSTirYs6GORmtppfOObNnEHTVlMoADrAIxTY2ja1uslSBvRyXK4XJCex"
WEBHOOK_URL="https://discord.com/api/webhooks/1479061246903845048/oInyHOf1l7t-jbu9c1lvQDBUxT7m96sUpoDak-V_wjR4IRFi2zz9prC20IKq6cLHF8FO"
usage=$(df -h / | awk 'NR==2 {gsub(/%/,"",$5); print $5}')
free=$((100 - usage))