ref
This commit is contained in:
parent
7e3bc88fc4
commit
13bae9730c
@ -3,7 +3,8 @@
|
|||||||
echo "wg0 status: $(systemctl is-active wg-quick@wg0.service)"
|
echo "wg0 status: $(systemctl is-active wg-quick@wg0.service)"
|
||||||
|
|
||||||
if ! systemctl is-active wg-quick@wg0.service 1>/dev/null; then
|
if ! systemctl is-active wg-quick@wg0.service 1>/dev/null; then
|
||||||
|
#shellcheck disable=SC2016
|
||||||
echo 'Executing this command may fix wireguard: "sudo apt update && sudo apt install linux-headers-$(uname -r) && sudo reboot"'
|
echo 'Executing this command may fix wireguard: "sudo apt update && sudo apt install linux-headers-$(uname -r) && sudo reboot"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user