Skip to content

Commit

Permalink
Adding silent boot parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Mar 6, 2009
1 parent 78c034b commit 4fc648a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions manpages/live-initramfs.en.7.txt
Expand Up @@ -245,6 +245,11 @@ This parameter will make live-initramfs to show on "/" the ro filesystems
lead to problems by applications like "mono" which store binary paths on
installation.

silent

If you boot with the normal quiet parameter, live-initramfs hides most messages
of its own. When adding silent, it hides all.

textonly

Start up to text-mode shell prompts, disabling the graphical user interface.
Expand Down
5 changes: 5 additions & 0 deletions scripts/live
Expand Up @@ -391,6 +391,11 @@ Arguments ()
export SHOWMOUNTS
;;

silent)
SILENT="Yes"
export SILENT
;;

textonly)
TEXTONLY="Yes"
export TEXTONLY
Expand Down
8 changes: 7 additions & 1 deletion scripts/live-bottom/14locales
Expand Up @@ -116,7 +116,13 @@ then
printf 'LANG="%s"\n' "${LANG}" >> /root/etc/default/locale
printf 'LANG="%s"\n' "${LANG}" >> /root/etc/environment
printf '%s %s\n' "${LANG}" "${codepage}" > /root/etc/locale.gen
chroot /root /usr/sbin/locale-gen

if [ -z "${SILENT}" ]
then
chroot /root /usr/sbin/locale-gen
else
chroot /root /usr/sbin/local-gen > /dev/null 2>&1
fi
fi

log_end_msg

0 comments on commit 4fc648a

Please sign in to comment.