Custom branding

pull/134/head
TheSpad 2023-03-01 11:10:51 +00:00
rodzic fac6455710
commit 6ae28f4527
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 08F06191F4587860
4 zmienionych plików z 33 dodań i 29 usunięć

2
Jenkinsfile vendored
Wyświetl plik

@ -31,7 +31,7 @@ pipeline {
CI_PORT='80'
CI_SSL='true'
CI_DELAY='30'
CI_DOCKERENV='TZ=US/Pacific'
CI_DOCKERENV='TZ=US/Pacific|LSIO_FIRST_PARTY=true'
CI_AUTH='user:password'
CI_WEBPATH=''
}

Wyświetl plik

@ -21,6 +21,6 @@ repo_vars:
- CI_PORT='80'
- CI_SSL='true'
- CI_DELAY='30'
- CI_DOCKERENV='TZ=US/Pacific'
- CI_DOCKERENV='TZ=US/Pacific|LSIO_FIRST_PARTY=true'
- CI_AUTH='user:password'
- CI_WEBPATH=''

Wyświetl plik

@ -0,0 +1,12 @@
───────────────────────────────────────
_____ __ __ _____ _____ _____ _____
| | | | __|_ _| | |
| --| | |__ | | | | | | | | |
|_____|_____|_____| |_| |_____|_|_|_|
_____ __ __ _ __ ____
| __ | | | | | | \
| __ -| | | | |__| | |
|_____|_____|_|_____|____/
Based on images from linuxserver.io
───────────────────────────────────────

Wyświetl plik

@ -7,17 +7,8 @@ PGID=${PGID:-911}
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
echo '
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
cat /etc/s6-overlay/s6-rc.d/init-adduser/branding
Brought to you by linuxserver.io
-------------------------------------'
if [[ -f /donate.txt ]]; then
echo '
To support the app dev(s) visit:'
@ -26,32 +17,33 @@ fi
echo '
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
───────────────────────────────────────
GID/UID
-------------------------------------'
───────────────────────────────────────'
echo "
User uid: $(id -u abc)
User gid: $(id -g abc)
-------------------------------------
User UID: $(id -u abc)
User GID: $(id -g 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
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
╔═════════════════════════════════════════════════════════════════════════════╗
║ ║
Your Docker Host 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
lsiown abc:abc /app
lsiown abc:abc /config
lsiown abc:abc /defaults