]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: Also check interface `wg1` master
authorOleg Broytman <phd@phdru.name>
Thu, 6 Nov 2025 17:37:24 +0000 (20:37 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 6 Nov 2025 17:37:24 +0000 (20:37 +0300)
.fvwm/main.m4

index 0f6e876bc7856b70f3a0b1bc07b3f2c4052842f1..083a4fbcab1f6f8bd799df0381f595f0ef3fc71b 100644 (file)
@@ -619,7 +619,7 @@ AddToFunc Id3Info             I Exec "$HOME"/lib/audio/mp3/id3info.py "$(audtool
 
 DestroyFunc Term2HostsHome
 AddToFunc Term2HostsHome      I GotoDeskAndPage 1 1 2
-+                             I PipeRead 'test -n "$(ip address show tun0 up 2>/dev/null)" || test -n "$(ip address show wg0 up 2>/dev/null)" || { echo Exec exec gxmessage -buttons Ok -default Ok "ERROR: Cannot find tun0/wg0 interfaces!"; echo Wait gxmessage; echo Break 1; }'
++                             I PipeRead 'test -n "$(ip address show tun0 up 2>/dev/null)" || test -n "$(ip address show wg0 up 2>/dev/null)" || test -n "$(ip address show wg1 up 2>/dev/null)" || { echo Exec exec gxmessage -buttons Ok -default Ok "ERROR: Cannot find tun0/wg0/wg1 interfaces!"; echo Wait gxmessage; echo Break 1; }'
 +                             I TERM_KOI8_SSH_SCREEN(iskra-aviel.phdru.name, iskra)
 +                             I Wait TERM
 +                             I GotoDeskAndPage 1 0 1