Browse Source

* modified 915resolution.conf, to use a text file

(default.txt) instead of the cat


git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21991 10447126-35f2-4685-b0cf-6dd780d3921f
early
Nagy Karoly Gabriel 18 years ago
parent
commit
6fd3eb14e5
  1. 24
      video/915resolution/915resolution.conf
  2. 23
      video/915resolution/default.txt

24
video/915resolution/915resolution.conf

@ -13,29 +13,7 @@
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
915resolution_postmake(){ 915resolution_postmake(){
cat <<-EOT >> $root/etc/default/915resolution cp -vf $confdir/default.txt $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' hook_add postmake 5 '915resolution_postmake'

23
video/915resolution/default.txt

@ -0,0 +1,23 @@
#
# 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
Loading…
Cancel
Save