fix on wg_on_start

This commit is contained in:
Désiré Werner Menrath 2023-11-26 19:38:24 +01:00
parent 14c2a6c69a
commit 035179c808

View File

@ -39,7 +39,7 @@ ACTIVE=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/
--undecorated --borders=8 --skip-taskbar \ --undecorated --borders=8 --skip-taskbar \
--text-align=center --no-buttons --auto-close \ --text-align=center --no-buttons --auto-close \
--timeout 1 \ --timeout 1 \
--text=$"<span color='#0fad0a'><b>"$ACTIVE"</b></span> <span><b>powered</b></span>" --text=$"<span color='#0fad0a'><b>$ACTIVE</b></span> <span><b>powered</b></span>"
# autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind # autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
IFS=$'\n' lines=( $(cat ${WG_WDIR}tunnel.txt) ) IFS=$'\n' lines=( $(cat ${WG_WDIR}tunnel.txt) )