Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Output grml version in grml's live-initramfs script
authorMichael Prokop
Sun Jul 20 22:58:00 2008 +0200 (4 months ago)
changeset 536bcb51a7523df
manifestbcb51a7523df
parent 535f4a162f1484c
child 5375aaceebfcf66
Output grml version in grml's live-initramfs script
etc/grml/fai/live-initramfs/grml-script.init-top
--- a/etc/grml/fai/live-initramfs/grml-script.init-top Sun Jul 20 20:53:48 2008 +0200
+++ b/etc/grml/fai/live-initramfs/grml-script.init-top Sun Jul 20 22:58:00 2008 +0200
@@ -113,8 +113,8 @@ SPLASH="
${RED} | |_| | _ <| | | | |___
${RED} \____|_| \_\_| |_|_____|
-${WHITE}grml.org $GRML_VERSION- Linux for sysadmins and texttool users.
-${NORMAL}"
+${WHITE}grml.org - Linux for sysadmins and texttool users.
+${WHITE}$GRML_VERSION${NORMAL}"
fi
echo ""
@@ -127,6 +127,7 @@ fi
fi
# }}}
+## /proc/cmdline handling {{{
# No kernel messages while probing modules:
if ! grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then
[ -r /proc/sys/kernel/printk ] && echo "0" > /proc/sys/kernel/printk
@@ -140,7 +141,8 @@ if grep -q 'boot=live' /proc/cmdline 2>/
if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then
log_grml_begin_msg "Finished early booting sequence." ; echo "$SUCCESS"
log_grml_begin_msg "Searching for GRML file, this might take a few seconds..."
- echo
+ echo
fi
+## }}}
# vim: foldmethod=marker expandtab ai ft=sh