Change config name for wireguard

This commit is contained in:
Thomas Dehaeze 2020-11-03 11:33:19 +01:00
parent 2544033457
commit 45de2f044b

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 }')