From 93d7b823b43207323ca7a2947103b668e905eb94 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Thu, 26 Jul 2012 14:23:31 +0200
Subject: [PATCH] systemd/dracut-cmdline.sh: output dracut version
---
modules.d/98systemd/dracut-cmdline.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules.d/98systemd/dracut-cmdline.sh b/modules.d/98systemd/dracut-cmdline.sh
index 77ad121..927b99a 100755
--- a/modules.d/98systemd/dracut-cmdline.sh
+++ b/modules.d/98systemd/dracut-cmdline.sh
@@ -12,6 +12,9 @@ if [ -f /dracut-state.sh ]; then
fi
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
+[ -f /etc/initrd-release ] && . /etc/initrd-release
+[ -n "$VERSION" ] && info "dracut-$VERSION"
+
source_conf /etc/conf.d
# run scriptlets to parse the command line