1
0
mirror of synced 2024-11-25 14:26:09 +03:00

Update Linux kernel check

This commit is contained in:
hwdsl2 2018-05-04 03:11:27 -05:00
parent 6a5c14b873
commit 240a0187f6
2 changed files with 4 additions and 9 deletions

View File

@ -70,13 +70,8 @@ if [ "$(id -u)" != 0 ]; then
fi fi
case "$(uname -r)" in case "$(uname -r)" in
4.14*) 4.14*|4.15*)
if [ "$(uname -m | cut -c1-3)" = "arm" ]; then exiterr "Linux kernels 4.14/4.15 are not yet supported due to an xl2tpd bug."
exiterr "Linux kernel 4.14 is not supported due to an xl2tpd bug."
fi
;;
4.15*)
exiterr "Linux kernel 4.15 is not supported due to an xl2tpd bug."
;; ;;
esac esac

View File

@ -61,9 +61,9 @@ if [ "$(id -u)" != 0 ]; then
fi fi
case "$(uname -r)" in case "$(uname -r)" in
4.15*) 4.14*|4.15*)
if grep -qs "release 6" /etc/redhat-release; then if grep -qs "release 6" /etc/redhat-release; then
exiterr "Linux kernel 4.15 is not supported due to an xl2tpd bug." exiterr "Linux kernels 4.14/4.15 are not yet supported due to an xl2tpd bug."
fi fi
;; ;;
esac esac