pushed
On 07/26/2010 10:15 AM, Amadeusz Żołnowski wrote:
---
modules.d/10i18n/console_init | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules.d/10i18n/console_init b/modules.d/10i18n/console_init
index fa74595..0d4fa8f 100755
--- a/modules.d/10i18n/console_init
+++ b/modules.d/10i18n/console_init
@@ -63,12 +63,15 @@ dev_open() {
dev=/dev/${1#/dev/}
+devname=${dev#/dev/}
[ -c "${dev}" ] || {
echo "Usage: $0 device">&2
exit 1
}
+[ -e /tmp/console_init.${devname} ]&& exit 0
+
dev_open ${dev}
for fd in 6 7; do
@@ -85,3 +88,4 @@ set_font ${dev}
set_keymap
dev_close
+>/tmp/console_init.${devname}
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html