8 lines
151 B
Bash
8 lines
151 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
INCLUDE_ONLY=1
|
||
|
. /lib/netifd/proto/wireguard.sh
|
||
|
|
||
|
ensure_key_is_generated wg_mesh
|
||
|
uci get "network.wg_mesh.private_key" | /usr/bin/wg pubkey
|