From de01a5c2bf3bead35473d386dfe412562de37a06 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Thu, 28 Jan 2021 13:00:49 +0100 Subject: [PATCH] Add warning regarding time being out of sync on armv7l Requires https://github.com/linuxserver/docker-documentation/pull/32 to be merged --- root/etc/cont-init.d/10-adduser | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/root/etc/cont-init.d/10-adduser b/root/etc/cont-init.d/10-adduser index 6efe28d..c489dfe 100644 --- a/root/etc/cont-init.d/10-adduser +++ b/root/etc/cont-init.d/10-adduser @@ -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 ' ------------------------------------- _ ()