Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116946 Details for
Bug 175500
sys-apps/915resolution ~x86-fbsd ebuild/patch & keyword request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/initd-r1
initd-r1 (text/plain), 938 bytes, created by
Joe Peterson (RETIRED)
on 2007-04-21 21:29:07 UTC
(
hide
)
Description:
files/initd-r1
Filename:
MIME Type:
Creator:
Joe Peterson (RETIRED)
Created:
2007-04-21 21:29:07 UTC
Size:
938 bytes
patch
obsolete
>#!/sbin/runscript > >depend() { > before xdm >} > ># Credit to David Leverton for this function which handily maps a bash array ># structure to positional parameters so existing configs work :) ># We'll deprecate arrays at some point though. >_get_array() { > if [ -n "${BASH}" ] ; then > case "$(declare -p "$1" 2>/dev/null)" in > "declare -a "*) > echo "set -- \"\${$1[@]}\"" > return > ;; > esac > fi > > echo "eval set -- \"\$$1\"" >} > >checkconfig() { > if [ -z "${replace}" ]; then > eerror "You need to have at least one resolution to replace" > eerror "/etc/conf.d/915resolution" > return 1 > fi > > cat /dev/null > ${log:-/dev/null} > > return 0 >} > >start() { > checkconfig || return 1 > > ebegin "Patching video BIOS with new video modes" > > eval $(_get_array replace) > for mode in "$@"; do > 915resolution ${mode} >> ${log:-/dev/null}; retval=$? > done > > eend ${retval} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 175500
:
116943
|
116944
|
116945
|
116946
|
116960
|
117972
|
121509