################################################################################
# Notice! Do not touch the following options except you really know
# what you are doing!
-CONFIG_915RESOLUTION='yes' # run 915resolution with specified options for adjusting resolution
CONFIG_AUTOMOUNT='yes' # automounting of device labeled GRMLCFG
CONFIG_BLANKING='yes' # check for bootoption noblank to disable console blanking
CONFIG_CONFIG='yes' # do we want config unpacking to work?
}
# }}}
-# {{{ 915resolution
-config_915resolution(){
-if checkbootparam '915resolution' ; then
- OPTIONS="$(getbootparam '915resolution' 2>>$DEBUG)"
- if [ -x /usr/sbin/915resolution ]; then
- CMD=915resolution
- MODE=""
- XRESO=""
- YRESO=""
- if [ -n "$OPTIONS" ]; then
- # Extra options
- MODE="${OPTIONS%%,*}"
- R="${OPTIONS#*,}"
- if [ -n "$R" -a "$R" != "$OPTIONS" ]; then
- OPTIONS="$R"
- XRESO="${OPTIONS%%,*}"
- R="${OPTIONS#*,}"
- if [ -n "$R" -a "$R" != "$OPTIONS" ]; then
- OPTIONS="$R"
- YRESO="${OPTIONS%%,*}"
- R="${OPTIONS#*,}"
- fi
- fi
- fi
- einfo "Running 915resolution with options ${MODE} ${XRESO} ${YRESO}."
- [ -n "$MODE" ] && [ -n "$XRESO" ] && [ -n "$YRESO" ] && ( sh -c "$CMD $MODE $XRESO $YRESO" & )
- eend 0
- fi
-fi
-}
-# }}}
-
# {{{ SW-RAID
config_swraid(){
[ -n "$INSTALLED" ] && return 0
checkvalue $CONFIG_FIX_UNIONFS && fix_unionfs
-checkvalue $CONFIG_915RESOLUTION && config_915resolution
-
checkvalue $CONFIG_VIRTUALBOX_SHARED_FOLDERS && config_virtualbox_shared_folders
checkvalue $CONFIG_MYPATH && config_mypath