diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-24 11:10:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-24 11:15:59 +0000 |
commit | ab0a08bd0106ce966db6049ca05a0ef7133c7ae0 (patch) | |
tree | 35e195d15782edb1ba140aa4d09a38fa6e1ddcae /main/openrc/hwdrivers.initd | |
parent | 59913720c4373df63fbc34f84ce37d7cfa5d4838 (diff) | |
download | aports-ab0a08bd0106ce966db6049ca05a0ef7133c7ae0.tar.bz2 aports-ab0a08bd0106ce966db6049ca05a0ef7133c7ae0.tar.xz |
main/openrc: fix hwdrivers to load fbcon on /dev/fb0
Instead of checking for fb module we check for /dev/fb0 since we now
compile fb directly into the kernel instead of module.
We also allow blacklisting it by using `modprobe -b`
Diffstat (limited to 'main/openrc/hwdrivers.initd')
-rw-r--r-- | main/openrc/hwdrivers.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/openrc/hwdrivers.initd b/main/openrc/hwdrivers.initd index eda9b65810..80184c9710 100644 --- a/main/openrc/hwdrivers.initd +++ b/main/openrc/hwdrivers.initd @@ -23,8 +23,8 @@ start() { | xargs modprobe -b -a 2> /dev/null # check if framebuffer drivers got pulled in - if [ -e /sys/module/fb ] && ! [ -e /sys/module/fbcon ]; then - modprobe fbcon + if [ -e /dev/fb0 ] && ! [ -e /sys/module/fbcon ]; then + modprobe -b -q fbcon fi eend 0 |