summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-03-06 16:40:53 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:04 +0100
commit753beff823f1963bd98ab4057fb1c63eeb7712fe (patch)
treeec3cb171a15b7a31d35d799a7031e908920ca540 /scripts
parent3f5e69a027b894940d48b296ac9379a62f2fa587 (diff)
downloadlive-boot-753beff823f1963bd98ab4057fb1c63eeb7712fe.tar.gz
live-boot-753beff823f1963bd98ab4057fb1c63eeb7712fe.zip
Adding silent boot parameter.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live5
-rwxr-xr-xscripts/live-bottom/14locales8
2 files changed, 12 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 933eb00..eb04d27 100755
--- a/scripts/live
+++ b/scripts/live
@@ -391,6 +391,11 @@ Arguments ()
export SHOWMOUNTS
;;
+ silent)
+ SILENT="Yes"
+ export SILENT
+ ;;
+
textonly)
TEXTONLY="Yes"
export TEXTONLY
diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales
index b42fcf0..29c405b 100755
--- a/scripts/live-bottom/14locales
+++ b/scripts/live-bottom/14locales
@@ -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