mirror of
https://github.com/hackerschoice/segfault.git
synced 2024-07-08 19:11:24 +00:00
29 lines
587 B
Plaintext
29 lines
587 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
PUID=${PUID:-911}
|
|
PGID=${PGID:-911}
|
|
|
|
groupmod -o -g "$PGID" abc
|
|
usermod -o -u "$PUID" abc
|
|
|
|
time32="$(date +%Y)"
|
|
|
|
if [[ "${time32}" == "1970" || "${time32}" == "1969" ]] && [ "$(uname -m)" == "armv7l" ]; then
|
|
echo '
|
|
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
|
|
Your DockerHost is running an outdated version of libseccomp
|
|
|
|
To fix this, please visit https://docs.linuxserver.io/faq#libseccomp
|
|
|
|
Apps will not behave correctly without this
|
|
|
|
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
'
|
|
sleep infinity
|
|
fi
|
|
|
|
chown abc:abc /app
|
|
chown abc:abc /config
|
|
chown abc:abc /defaults
|