aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-20 19:34:07 +0200
committerTom Gundersen <teg@jklm.no>2011-06-20 19:34:07 +0200
commit3498c2a1b387fb83a960e6ed1faaa3e5fd68fa50 (patch)
tree521ac44f8000b1a4df9b526b5c85ce841d3302a3 /rc.sysinit
parent60191a3cdf4923fea04ae1fb383b9367db9227a0 (diff)
downloadinitscripts-3498c2a1b387fb83a960e6ed1faaa3e5fd68fa50.tar.xz
status: adjust number of columns after loading modules
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 <aaronmgriffin@gmail.com> Original-patch-by: Søren Poulsen <nikorpoulsen@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit3
1 files changed, 3 insertions, 0 deletions
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