diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /sys-apps/fbres | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'sys-apps/fbres')
-rw-r--r-- | sys-apps/fbres/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/fbres/fbres-1.0.ebuild | 19 | ||||
-rw-r--r-- | sys-apps/fbres/files/fbres.sysconfig | 1 | ||||
-rw-r--r-- | sys-apps/fbres/files/fbres.sysinit | 14 |
4 files changed, 37 insertions, 0 deletions
diff --git a/sys-apps/fbres/Manifest b/sys-apps/fbres/Manifest new file mode 100644 index 0000000..67df697 --- /dev/null +++ b/sys-apps/fbres/Manifest @@ -0,0 +1,3 @@ +AUX fbres.sysconfig 33 RMD160 5e58208462621ce4476fd8697ba1c4a62be363f8 SHA1 556334c6c18d5cbf96d3fe3b9159c8b26e1a2770 SHA256 0911b9b916a7b6bb3cfbdf0413ef1df6d7a00b63f78674626005611d4ff40e62 +AUX fbres.sysinit 348 RMD160 304f8815aeea2f21e637c4208b523de8c9f53bfe SHA1 725cb6621bec041365beb859c1b7192bafd42290 SHA256 66de1f43e85a5d0b69a00b2d0abe645a29e045759875bd69ec288c76f5933491 +EBUILD fbres-1.0.ebuild 471 RMD160 d8601d0c8de4a9611226c86cca1dd7f830d44b2e SHA1 fe3211778d8a305e41fd52d16be9b5d9efcc545d SHA256 f7855d3547bbaa146f35d4429f5ad70c817bcc6609d88b5a449c739c77ab3751 diff --git a/sys-apps/fbres/fbres-1.0.ebuild b/sys-apps/fbres/fbres-1.0.ebuild new file mode 100644 index 0000000..170fd1c --- /dev/null +++ b/sys-apps/fbres/fbres-1.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils + +DESCRIPTION="Init script to set framebuffer resolution" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +RDEPEND="sys-libs/ncurses" + +src_install() { + dodir /etc/conf.d + dodir /etc/init.d + + install -m 0755 ${FILESDIR}/fbres.sysinit ${D}/etc/init.d/fbres + install -m 0644 ${FILESDIR}/fbres.sysconfig ${D}/etc/conf.d/fbres +} 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 +} |