Update wireguard.sh

This commit is contained in:
Teddysun 2019-11-27 21:48:08 +09:00
parent 0e1028746e
commit b8d3f38cd2
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -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"