Skip to content

Commit 2178767

Browse files
committed
Bring custom adduser into line with baseimage
1 parent b75a486 commit 2178767

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

  • root/etc/s6-overlay/s6-rc.d/init-adduser

root/etc/s6-overlay/s6-rc.d/init-adduser/run

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,12 @@ GID/UID
3131
echo "
3232
User UID: $(id -u "${USER_NAME}")
3333
User GID: $(id -g "${USER_NAME}")
34-
───────────────────────────────────────
35-
"
36-
37-
if [[ "$(uname -m)" == "armv7l" ]] || [[ "$(uname -m)" == "armhf" ]]; then
34+
───────────────────────────────────────"
35+
if [[ -f /build_version ]]; then
36+
cat /build_version
3837
echo '
39-
╔═════════════════════════════════════════════════════╗
40-
║ ║
41-
║ The 32-bit Arm version of this image will ║
42-
║ no longer be supported after 2023-07-01 ║
43-
║ ║
44-
║ See: https://linuxserver.io/armhf ║
45-
║ for more details ║
46-
║ ║
47-
╚═════════════════════════════════════════════════════╝
48-
'
38+
───────────────────────────────────────
39+
'
4940
fi
5041

5142
lsiown "${USER_NAME}":"${USER_NAME}" /app

0 commit comments

Comments
 (0)