From cb04b455fbdd2fdc51b4c0e4879304a0488abde6 Mon Sep 17 00:00:00 2001 From: Sakalou Aliaksei Date: Wed, 25 Mar 2020 15:06:11 +0300 Subject: [PATCH] reboot == evil automatic reboot is bad --- wireguard-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index a35efe6..098ce9a 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -188,8 +188,8 @@ if [[ "$OS" =~ (fedora|centos) ]] && [[ $WG_RUNNING -ne 0 ]]; then echo "You can check if WireGuard is running with: systemctl status wg-quick@$SERVER_WG_NIC" echo "If you get something like \"Cannot find device wg0\", please run:" if [[ "$OS" = 'fedora' ]]; then - echo "dnf update -y && reboot" + echo "dnf update -y" elif [[ "$OS" = 'centos' ]]; then - echo "yum update -y && reboot" + echo "yum update -y" fi fi