mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-19 15:25:35 +00:00
detect rpi2/3 kernels
This commit is contained in:
parent
9c37136fb1
commit
7c1913a24b
@ -8,7 +8,7 @@ if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then
|
|||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
linux-headers-$(uname -r) \
|
linux-headers-$(uname -r) \
|
||||||
wireguard
|
wireguard
|
||||||
elif uname -r | grep -q 'v7l+'; then
|
elif (uname -r | grep -q 'v7+') || (uname -r | grep -q 'v7l+'); then
|
||||||
echo "Raspbian kernel naming convention detected, attempting to install raspbian kernel headers"
|
echo "Raspbian kernel naming convention detected, attempting to install raspbian kernel headers"
|
||||||
curl -s http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | apt-key add -
|
curl -s http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | apt-key add -
|
||||||
echo -e \
|
echo -e \
|
||||||
|
Loading…
Reference in New Issue
Block a user