|
@ -7,6 +7,12 @@ DEBUG() { |
|
|
# Define VPN interface name |
|
|
# Define VPN interface name |
|
|
VPNIF="vpnaltinea" |
|
|
VPNIF="vpnaltinea" |
|
|
|
|
|
|
|
|
|
|
|
if ! [ -x "$(command -v sendEmail)" ]; then |
|
|
|
|
|
echo "sendEmail could not be found, please install it with :" |
|
|
|
|
|
echo "apt install sendEmail" |
|
|
|
|
|
exit 99; |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
if ! [ -x "$(command -v jq)" ]; then |
|
|
if ! [ -x "$(command -v jq)" ]; then |
|
|
echo "jq could not be found, please install it with :" |
|
|
echo "jq could not be found, please install it with :" |
|
|
echo "apt install jq" |
|
|
echo "apt install jq" |
|
|