mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-10 15:21:02 +00:00
reboot == evil
automatic reboot is bad
This commit is contained in:
parent
8130dc7b70
commit
cb04b455fb
@ -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 "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:"
|
echo "If you get something like \"Cannot find device wg0\", please run:"
|
||||||
if [[ "$OS" = 'fedora' ]]; then
|
if [[ "$OS" = 'fedora' ]]; then
|
||||||
echo "dnf update -y && reboot"
|
echo "dnf update -y"
|
||||||
elif [[ "$OS" = 'centos' ]]; then
|
elif [[ "$OS" = 'centos' ]]; then
|
||||||
echo "yum update -y && reboot"
|
echo "yum update -y"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user