From 191a1558f5f39720da85c28e9e07ff6068498a87 Mon Sep 17 00:00:00 2001 From: "David E. Myers" Date: Thu, 6 Aug 2020 11:58:04 -0400 Subject: [PATCH] Change reboot instruction --- docs/client-linux-wireguard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client-linux-wireguard.md b/docs/client-linux-wireguard.md index ed4be38..cd47db2 100644 --- a/docs/client-linux-wireguard.md +++ b/docs/client-linux-wireguard.md @@ -9,7 +9,7 @@ To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubu sudo apt update && sudo apt upgrade # If the file /var/run/reboot-required exists then reboot: -sudo reboot +[ -e /var/run/reboot-required ] && sudo reboot # Install WireGuard: sudo apt install wireguard openresolv