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