]> git.phdru.name Git - dotfiles.git/blobdiff - .fvwm/main.m4
.fvwmrc: If network is not up - report and break
[dotfiles.git] / .fvwm / main.m4
index cf47e275659ccbf3923bb0ab5af93770ddf9e0c7..be274e84a69fdaa66cb5bb98a652b4f8a73fbb31 100644 (file)
@@ -621,6 +621,7 @@ changequote([`], ['])dnl
 
 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 TERM_KOI8_SSH_SCREEN(iskra-aviel.phdru.name, iskra)
 +                             I Wait TERM
 +                             I GotoDeskAndPage 1 0 1