a69fbb2222f8f3f53dde00045d413d96e508e88b

Configurations with multiple VPNs currently fail to show the networks dialog due to a failing sed invocation due to multiple lines in VPNDEVICE env var: $ nmcli con show --active NAME UUID TYPE DEVICE wired xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ethernet eth0 mullvad-nl5 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx wireguard mullvad-nl5 lo xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx loopback lo wg-forge xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx wireguard wg-forge This patch adds support for arbitrary numbers of VPNs by concatenating the VPN names with a '|' and running the latter through sed with support for extended regexp (needed for the '|' interpreted as an or). Signed-off-by: Peter John Hartman <peterjohnhartman@gmail.com>
sxmo-utils
This repository contains scripts and C programs to support Sxmo.
Note all scripts pass shellcheck and are tab-idented.
<Various scripts and small C programs that glue the Sxmo environment together>
Copyright (C) <2022> <Sxmo Contributors>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Description
Languages
Shell
97.5%
Makefile
1.3%
C
1.2%