diff options
Diffstat (limited to 'sys-apps/fbres/files/fbres.sysinit')
-rw-r--r-- | sys-apps/fbres/files/fbres.sysinit | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/fbres/files/fbres.sysinit b/sys-apps/fbres/files/fbres.sysinit new file mode 100644 index 0000000..6bd187b --- /dev/null +++ b/sys-apps/fbres/files/fbres.sysinit @@ -0,0 +1,14 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +start() { + ebegin "Setting frambe buffer resolution" + modprobe fbdev + if [ -n "$FRAMEBUFFER_RESOLUTION" ]; then + fbset -a $FRAMEBUFFER_RESOLUTION + fi + eend 0 + /etc/init.d/consolefont restart +} |