summaryrefslogtreecommitdiffstats
path: root/sys-apps/fbres/files
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /sys-apps/fbres/files
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'sys-apps/fbres/files')
-rw-r--r--sys-apps/fbres/files/fbres.sysconfig1
-rw-r--r--sys-apps/fbres/files/fbres.sysinit14
2 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/fbres/files/fbres.sysconfig b/sys-apps/fbres/files/fbres.sysconfig
new file mode 100644
index 0000000..30aa226
--- /dev/null
+++ b/sys-apps/fbres/files/fbres.sysconfig
@@ -0,0 +1 @@
+FRAMEBUFFER_RESOLUTION=800x600-75 \ No newline at end of file
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
+}