Merge pull request #66 from linuxserver/focal-libseccomp-warn

Add warning regarding time being out of sync on armv7l
pull/64/head
j0nnymoe 2021-01-29 14:49:14 +00:00 zatwierdzone przez GitHub
commit 554dfbb23e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 15 dodań i 1 usunięć

Wyświetl plik

@ -6,6 +6,20 @@ 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 '
-------------------------------------
_ ()