aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/hwdrivers.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/openrc/hwdrivers.initd')
-rw-r--r--main/openrc/hwdrivers.initd6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/openrc/hwdrivers.initd b/main/openrc/hwdrivers.initd
index 3d0ebf12b5..d4551ca234 100644
--- a/main/openrc/hwdrivers.initd
+++ b/main/openrc/hwdrivers.initd
@@ -22,6 +22,12 @@ start() {
# we run it twice so we detect all devices
find /sys -name modalias | xargs sort -u \
| xargs modprobe -a 2> /dev/null
+
+ # check if framebuffer drivers got pulled in
+ if [ -e /sys/module/fb ] && ! [ -e /sys/module/fbcon ]; then
+ modprobe fbcon
+ fi
+
eend 0
}