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 +