mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Update wireguard.sh
This commit is contained in:
parent
281dfd73a6
commit
b4399259aa
@ -651,6 +651,7 @@ update_from_source() {
|
||||
if _version_gt "${wireguard_ver}" "${installed_wg_ver}"; then
|
||||
_info "Starting upgrade WireGuard"
|
||||
install_wg_2
|
||||
_error_detect "systemctl daemon-reload"
|
||||
_error_detect "systemctl restart wg-quick@${SERVER_WG_NIC}"
|
||||
_info "Update WireGuard completed"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user