X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=19cdaba738bda94a9c6b02808c0d25b80094057c;hb=refs%2Fheads%2Fmaster;hp=8da4a26c284136cfb9f686081dea7df670b4a995;hpb=ef3bbffe6d2a08ebd735ba4f09c7bd0fbea585a0;p=distro-setup diff --git a/distro-end b/distro-end index 8da4a26..d99e6a1 100755 --- a/distro-end +++ b/distro-end @@ -18,8 +18,8 @@ # SPDX-License-Identifier: GPL-3.0-or-later -# shellcheck source=./brc -source ~/brc +export LC_USEBASHRC=t +source /a/bin/ds/.bashrc ### setup source /a/bin/bash-bear-trap/bash-bear @@ -523,18 +523,7 @@ EOF client-to-client EOF - - ngset - files=(/etc/openvpn/client-config-hole/*) - if (( ${#files[@]} >= 1 )); then - rm -f ${files[@]} - fi - ngreset - for host in ${!vpn_ips[@]}; do - sd /etc/openvpn/client-config-hole/$host < AuthType Basic AuthName "basic_auth"