initial commit

This commit is contained in:
dzaczek 2023-10-13 22:29:49 +02:00
commit 81b9fd515f
7 changed files with 789 additions and 0 deletions

17
scripts/wg_check.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# Icons
ICON_UP=""
ICON_DOWN=""
# Check if WireGuard interface wg0 is up
if ip link show wg0 &> /dev/null; then
# If wg0 is up, display a green icon
echo $ICON_UP
echo
echo \#008000
#else
# # If wg0 is down, display a gray icon
# echo $ICON_DOWN
fi