Change config name for wireguard
This commit is contained in:
parent
2544033457
commit
45de2f044b
@ -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