From 3498c2a1b387fb83a960e6ed1faaa3e5fd68fa50 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 20 Jun 2011 19:34:07 +0200 Subject: status: adjust number of columns after loading modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case loading modules enables a frambuffer with higher resolution than the standard 80 columns, we recalculate the number of columns after all modules have been loaded. Original-patch-by: Aaron Griffin Original-patch-by: Søren Poulsen Signed-off-by: Tom Gundersen --- rc.sysinit | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 2158f4a..b5d63ea 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -95,6 +95,9 @@ unset mods status "Waiting for UDev uevents to be processed" \ udevadm settle --timeout=${UDEV_TIMEOUT:-30} +# in case loading a module changed the display mode +calc_columns + run_hook sysinit_udevsettled # bring up the loopback interface -- cgit v1.2.3