Add warning regarding time being out of sync on armv7l

Requires https://github.com/linuxserver/docker-documentation/pull/32 to be merged
This commit is contained in:
Roxedus 2021-01-28 13:00:49 +01:00
parent dcbe92995c
commit de01a5c2bf
No known key found for this signature in database
GPG key ID: 9B4E311961C63639

View file

@ -6,6 +6,20 @@ PGID=${PGID:-911}
groupmod -o -g "$PGID" abc groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc usermod -o -u "$PUID" abc
if [ "$(date +%Y)" == "1970" ] && [ "$(uname -m)" == "armv7l" ]; then
echo '
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Your DockerHost is most likely running an outdated version of libseccomp
To fix this, please visit https://docs.linuxserver.io/faq#libseccomp
Some apps might not behave correctly without this
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
'
fi
echo ' echo '
------------------------------------- -------------------------------------
_ () _ ()