Files
shell-scripts/部署应用/Oracle-Cloud/NetMaker全互联/remove-netclient.sh
2023-05-15 16:49:09 +08:00

13 lines
214 B
Bash

#!/usr/bin/env bash
apt remove wireguard wireguard-tools
systemctl stop netclient
systemctl disable netclient
rm -rf /etc/systemd/system/netclient.service
rm -rf /etc/netclient/config
ifconfig wg0-oracle down