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
0e1028746e
commit
b8d3f38cd2
@ -253,6 +253,7 @@ install_wg_2() {
|
||||
_error_detect "apt-get -y install gcc"
|
||||
_error_detect "apt-get -y install make"
|
||||
_error_detect "apt-get -y install libmnl-dev"
|
||||
_error_detect "apt-get -y install libelf-dev"
|
||||
;;
|
||||
fedora)
|
||||
[ ! -d "/usr/src/kernels/$(uname -r)" ] && _error_detect "dnf -y install kernel-headers" && _error_detect "dnf -y install kernel-devel"
|
||||
|
Loading…
x
Reference in New Issue
Block a user