summaryrefslogtreecommitdiffstats
path: root/sys-apps/fbres/files/fbres.sysinit
blob: 6bd187bc9da786903cf647ee1fd69fd0ab63cf15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}