projects
/
grml-live-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Output grml version in grml's live-initramfs script
[grml-live-grml.git]
/
etc
/
grml
/
fai
/
live-initramfs
/
grml-script.init-top
diff --git
a/etc/grml/fai/live-initramfs/grml-script.init-top
b/etc/grml/fai/live-initramfs/grml-script.init-top
index
5ed49b0
..
40ab55d
100755
(executable)
--- a/
etc/grml/fai/live-initramfs/grml-script.init-top
+++ b/
etc/grml/fai/live-initramfs/grml-script.init-top
@@
-93,6
+93,11
@@
FAILED=" ${NORMAL}[${RED}fail${NORMAL}]"
# welcome splash {{{
DISTRI="$(getbootparam 'distri' 2>/dev/null)"
# welcome splash {{{
DISTRI="$(getbootparam 'distri' 2>/dev/null)"
+
+if [ -r /etc/grml_version ] ; then
+ GRML_VERSION="[$(cat /etc/grml_version)] "
+fi
+
if [ -n "$DISTRI" ] ; then
SPLASH="
${RED} $DISTRI
if [ -n "$DISTRI" ] ; then
SPLASH="
${RED} $DISTRI
@@
-108,7
+113,7
@@
${RED} | | _| |_) | |\/| | |
${RED} | |_| | _ <| | | | |___
${RED} \____|_| \_\_| |_|_____|
${RED} | |_| | _ <| | | | |___
${RED} \____|_| \_\_| |_|_____|
-${WHITE}grml.org - Linux for sysadmins and texttool users.
+${WHITE}grml.org
$GRML_VERSION
- Linux for sysadmins and texttool users.
${NORMAL}"
fi
${NORMAL}"
fi