[make-initrd] [PATCH v1 24/41] bootchained: startup message

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:58:00 MSK 2021


---
  make-initrd/features/bootchain-core/data/sbin/bootchained | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/make-initrd/features/bootchain-core/data/sbin/bootchained 
b/make-initrd/features/bootchain-core/data/sbin/bootchained
index 21d97a8..369938a 100755
--- a/make-initrd/features/bootchain-core/data/sbin/bootchained
+++ b/make-initrd/features/bootchain-core/data/sbin/bootchained
@@ -27,10 +27,10 @@ echo "$$" >"$pidfile"
  [ "${RDLOG-}" != 'console' ] ||
  	logfile=/dev/console
  -exec >"$logfile" 2>&1
-message "Starting server ..."
+exec >"$BC_LOGFILE" 2>&1
+message "Starting server [$(initrd_version)]..."
  -mkdir -p -- "$mntdir"
+run mkdir -p -- "$mntdir" "$BC_PASSED"
   mountpoint -q "$mntdir" ||
  	mount -t tmpfs tmpfs "$mntdir" ||:
-- 
2.21.0




More information about the Make-initrd mailing list