mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
reboot == evil
automatic reboot is bad
This commit is contained in:
parent
8130dc7b70
commit
cb04b455fb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue