Skip to content

Commit 972e13c

Browse files
authored
Merge pull request #6 from linuxserver/rpifix
detect rpi2/3 kernels
2 parents 9c37136 + 7c1913a commit 972e13c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then
88
apt-get install -y \
99
linux-headers-$(uname -r) \
1010
wireguard
11-
elif uname -r | grep -q 'v7l+'; then
11+
elif (uname -r | grep -q 'v7+') || (uname -r | grep -q 'v7l+'); then
1212
echo "Raspbian kernel naming convention detected, attempting to install raspbian kernel headers"
1313
curl -s http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | apt-key add -
1414
echo -e \

0 commit comments

Comments
 (0)