diff --git a/run_check.sh b/run_check.sh new file mode 100755 index 0000000..fc080a9 --- /dev/null +++ b/run_check.sh @@ -0,0 +1,66 @@ +#!/bin/bash + +# Mullvad_VPN_Check +# A script that checks for a Mullvad VPN connection and if there isn't one, will send and alert + + +# Set Discord webhook +WEBHOOK_URL="DISCORD_WEBHOOK_URL" + +# Function to run alert +run_alert() { +curl -H "Content-Type: application/json" -X POST --data @- "$WEBHOOK_URL" <