Change config name for wireguard
This commit is contained in:
parent
39233b5e78
commit
d2f887b680
@ -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 }')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user