Add warning regarding time being out of sync on armv7l

Requires linuxserver/docker-documentation#32 to be merged
This commit is contained in:
Roxedus 2021-01-28 13:35:35 +01:00
parent bbdcfe2ab8
commit 6d31bc3a95
No known key found for this signature in database
GPG Key ID: 9B4E311961C63639

View File

@ -6,11 +6,25 @@ PGID=${PGID:-911}
groupmod -o -g "$PGID" 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 '
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/