From 6fd3eb14e50c05ef8bf18154cd84dd14ce619251 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Tue, 7 Aug 2007 03:16:50 +0000 Subject: [PATCH] * 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 --- video/915resolution/915resolution.conf | 24 +----------------------- video/915resolution/default.txt | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 video/915resolution/default.txt diff --git a/video/915resolution/915resolution.conf b/video/915resolution/915resolution.conf index 0aad2544c..b95d31c79 100644 --- a/video/915resolution/915resolution.conf +++ b/video/915resolution/915resolution.conf @@ -13,29 +13,7 @@ # --- 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 +cp -vf $confdir/default.txt $root/etc/default/915resolution } hook_add postmake 5 '915resolution_postmake' diff --git a/video/915resolution/default.txt b/video/915resolution/default.txt new file mode 100644 index 000000000..53328e2b7 --- /dev/null +++ b/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 +