mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Update wireguard-install.sh
This commit is contained in:
parent
12e72fa724
commit
e874ddfa97
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ echo "Remove WireGuard Server ($distribution)"
|
|||
if [ "$distribution" = "CentOS" ] || [ "$distribution" = "Red\ Hat" ] || [ "$distribution" = "Oracle" ]; then
|
||||
systemctl stop wg-quick@wg0.service > /dev/null 2>&1
|
||||
systemctl disable wg-quick@wg0.service > /dev/null 2>&1
|
||||
sudo rm /etc/yum.repos.d/wireguard.repo
|
||||
rm -f /etc/yum.repos.d/wireguard.repo
|
||||
yum remove -y wireguard-dkms wireguard-tools > /dev/null 2>&1
|
||||
rm -rf /etc/wireguard
|
||||
rm -f /etc/sysctl.d/wg.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue