Change config name for wireguard

This commit is contained in:
Thomas Dehaeze 2020-11-03 11:33:19 +01:00
parent 39233b5e78
commit d2f887b680

View File

@ -818,7 +818,7 @@
:END: :END:
#+begin_src bash #+begin_src bash
config="pivpn" config="homelab"
connection=$(sudo wg show "$config" 2>/dev/null | head -n 1 | awk '{print $NF }') connection=$(sudo wg show "$config" 2>/dev/null | head -n 1 | awk '{print $NF }')
@ -837,7 +837,7 @@
:END: :END:
#+begin_src bash #+begin_src bash
config="pivpn" config="homelab"
connection=$(sudo wg show "$config" 2>/dev/null | head -n 1 | awk '{print $NF }') connection=$(sudo wg show "$config" 2>/dev/null | head -n 1 | awk '{print $NF }')