From fdb75f62a2daab9810a16877e2ae884774102298 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 19 Aug 2023 23:03:43 +0300 Subject: [PATCH] .fvwmrc: If network is not up - report and break --- .fvwm/main.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index cf47e27..be274e8 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -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 -- 2.39.5