From 0ff77257a94efc8426da34e8509471b7c181a5a5 Mon Sep 17 00:00:00 2001 From: thespad Date: Sat, 29 Jun 2024 18:18:51 +0100 Subject: [PATCH] Print version on init --- root/etc/s6-overlay/s6-rc.d/init-adduser/run | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-adduser/run b/root/etc/s6-overlay/s6-rc.d/init-adduser/run index 565f89d..db02434 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-adduser/run +++ b/root/etc/s6-overlay/s6-rc.d/init-adduser/run @@ -29,8 +29,13 @@ GID/UID echo " User UID: $(id -u abc) User GID: $(id -g abc) +───────────────────────────────────────" +if [[ -f /build_version ]]; then + cat /build_version + echo ' ─────────────────────────────────────── -" + ' +fi lsiown abc:abc /app lsiown abc:abc /config