Browse Source

* improved 915resolution adding a default configuration file.

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21990 10447126-35f2-4685-b0cf-6dd780d3921f
early
Nagy Karoly Gabriel 18 years ago
parent
commit
4e940b0a47
  1. 41
      video/915resolution/915resolution.conf

41
video/915resolution/915resolution.conf

@ -0,0 +1,41 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../915resolution/915resolution.conf
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
915resolution_postmake(){
cat <<-EOT >> $root/etc/default/915resolution
#
# 915resolution default
#
# find free modes by /usr/sbin/915resolution -l
# and set it to MODE or set to 'MODE=auto'
#
# With 'auto' detection, the panel-size will be fetched from the VBE
# BIOS if possible and the highest-numbered mode in each bit-depth
# will be overwritten with the detected panel-size.
MODE=auto
#
# and set resolutions for the mode.
# e.g. use XRESO=1024 and YRESO=768
XRESO=
YRESO=
#
# We can also set the pixel mode.
# e.g. use BIT=32
# Please note that this is optional,
# you can also leave this value blank.
BIT=
EOT
}
hook_add postmake 5 '915resolution_postmake'
Loading…
Cancel
Save