Skip to content
Snippets Groups Projects
Unverified Commit 7a989b32 authored by Roxedus's avatar Roxedus
Browse files

Also catch 1969, move banner.

parent c511bac1
No related branches found
No related tags found
No related merge requests found
...@@ -6,20 +6,6 @@ PGID=${PGID:-911} ...@@ -6,20 +6,6 @@ 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 '
------------------------------------- -------------------------------------
_ () _ ()
...@@ -47,6 +33,23 @@ User uid: $(id -u abc) ...@@ -47,6 +33,23 @@ User uid: $(id -u abc)
User gid: $(id -g abc) User gid: $(id -g abc)
------------------------------------- -------------------------------------
" "
time32="$(date +%Y)"
if [[ "${time32}" == "1970" || "${time32}" == "1969" ]] && [ "$(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
chown abc:abc /app chown abc:abc /app
chown abc:abc /config chown abc:abc /config
chown abc:abc /defaults chown abc:abc /defaults
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment