[Install] Ubuntu 16.04 with default kernel is also unsupported in gen_conf

master
andryyy 2019-12-05 19:18:06 +01:00
parent 2c9cd365d1
commit af8ed1d33a
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,14 @@ if [[ "$(uname -r)" =~ ^4\.15\.0-60 ]]; then
exit 1 exit 1
fi fi
if [[ "$(uname -r)" =~ ^4\.4\. ]]; then
if grep -q Ubuntu <<< $(uname -a); then
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
echo "Please update to linux-generic-hwe-16.04 by running \"apt-get install --install-recommends linux-generic-hwe-16.04\""
fi
exit 1
fi
if grep --help 2>&1 | grep -q -i "busybox"; then if grep --help 2>&1 | grep -q -i "busybox"; then
echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"" echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""
exit 1 exit 1