Update Linux kernel check
This commit is contained in:
parent
94ca6536c8
commit
3b7039ef78
@ -70,8 +70,13 @@ if [ "$(id -u)" != 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "$(uname -r)" in
|
case "$(uname -r)" in
|
||||||
4.14*|4.15*)
|
4.14*)
|
||||||
exiterr "Linux kernels 4.14/4.15 are not yet supported due to an xl2tpd bug."
|
if uname -m | grep -qi '^arm'; then
|
||||||
|
exiterr "Linux kernel 4.14 is not supported due to an xl2tpd issue."
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
4.15*)
|
||||||
|
exiterr "Linux kernel 4.15 is not supported due to an xl2tpd issue."
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -61,9 +61,9 @@ if [ "$(id -u)" != 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "$(uname -r)" in
|
case "$(uname -r)" in
|
||||||
4.14*|4.15*)
|
4.15*)
|
||||||
if grep -qs "release 6" /etc/redhat-release; then
|
if grep -qs "release 6" /etc/redhat-release; then
|
||||||
exiterr "Linux kernels 4.14/4.15 are not yet supported due to an xl2tpd bug."
|
exiterr "Linux kernel 4.15 is not supported due to an xl2tpd issue."
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user