mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update wireguard.sh
This commit is contained in:
parent
b5339300bb
commit
5c95fdb6fd
@ -343,7 +343,6 @@ install_wg_2() {
|
|||||||
_info "Install wireguard from source"
|
_info "Install wireguard from source"
|
||||||
case "$(_os)" in
|
case "$(_os)" in
|
||||||
ubuntu|debian|raspbian)
|
ubuntu|debian|raspbian)
|
||||||
_error_detect "apt-get update"
|
|
||||||
if [ ! -d "/usr/src/linux-headers-$(uname -r)" ]; then
|
if [ ! -d "/usr/src/linux-headers-$(uname -r)" ]; then
|
||||||
if [ "$(_os)" = "raspbian" ]; then
|
if [ "$(_os)" = "raspbian" ]; then
|
||||||
_error_detect "apt-get -y install raspberrypi-kernel-headers"
|
_error_detect "apt-get -y install raspberrypi-kernel-headers"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user