From e29e5db7dff1442ef73cbcd0c898e11078e1042d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 17 Sep 2020 14:49:47 +0900 Subject: util: wireguard is merged into upstream kernel --- src/basic/linux/update.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/basic/linux/update.sh b/src/basic/linux/update.sh index d272ffd296..b0b0cdc949 100755 --- a/src/basic/linux/update.sh +++ b/src/basic/linux/update.sh @@ -3,11 +3,7 @@ set -eu for i in *.h */*.h; do - if [[ $i == 'wireguard.h' ]]; then - curl https://raw.githubusercontent.com/WireGuard/WireGuard/master/src/uapi/$i -o $i - else - curl https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/$i -o $i - fi + curl https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/$i -o $i sed -i -e 's/__user //g' -e '/^#include / d' $i done -- cgit v1.2.3