Closed ycmmonkey closed 3 years ago
我改成这样能用了 install_wg_1() { install_wg_pkgs _info "Install wireguard from repository" case "$(_os)" in ubuntu)
_error_detect "apt-get update" _error_detect "apt-get -y install linux-headers-$(uname -r)" #_error_detect "apt-get -y install wireguard-dkms" #_error_detect "apt-get -y install wireguard-tools" _error_detect "apt-get -y install wireguard"
改如上之后,add_client的时侯会报WireGuard was not installed, please install it and try again 暂时把是否已安装判断注释掉就能用了
我改成这样能用了 install_wg_1() { install_wg_pkgs _info "Install wireguard from repository" case "$(_os)" in ubuntu)
_error_detect "add-apt-repository ppa:wireguard/wireguard"