Skip to content

Commit c2bcad4

Browse files
authored
Merge pull request #16 from linuxserver/bookworm-init-version
Output image version on init if present (Bookworm)
2 parents 9884227 + 8f2eff2 commit c2bcad4

File tree

1 file changed

+6
-1
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-adduser

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ GID/UID
2424
echo "
2525
User UID: $(id -u abc)
2626
User GID: $(id -g abc)
27+
───────────────────────────────────────"
28+
if [[ -f /build_version ]]; then
29+
cat /build_version
30+
echo '
2731
───────────────────────────────────────
28-
"
32+
'
33+
fi
2934

3035
lsiown abc:abc /app
3136
lsiown abc:abc /config

0 commit comments

Comments
 (0)