diff --git a/vpnsetup.sh b/vpnsetup.sh index 31af685..6462392 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -70,13 +70,8 @@ if [ "$(id -u)" != 0 ]; then fi case "$(uname -r)" in - 4.14*) - if [ "$(uname -m | cut -c1-3)" = "arm" ]; then - 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." + 4.14*|4.15*) + exiterr "Linux kernels 4.14/4.15 are not yet supported due to an xl2tpd bug." ;; esac diff --git a/vpnsetup_centos.sh b/vpnsetup_centos.sh index 465c03d..31acbe3 100755 --- a/vpnsetup_centos.sh +++ b/vpnsetup_centos.sh @@ -61,9 +61,9 @@ if [ "$(id -u)" != 0 ]; then fi case "$(uname -r)" in - 4.15*) + 4.14*|4.15*) 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 ;; esac