CONFIG_DEBNET='yes' # search for /etc/network/interfaces on partitions and set up network afterwards
CONFIG_DEBS='yes' # check for bootoption debs for installing .debs
CONFIG_DEBUG='yes' # activate start of shells during startup at several stages
-CONFIG_DISCOVER='no' # use discover for hardware detection
CONFIG_DISTCC='yes' # activate and setup distcc through bootparam distcc=$NETWORK,$INTERFACE
CONFIG_DISTRI='yes' # support some customization via bootoption distri
CONFIG_DMA='yes' # Enable DMA for all IDE drives
}
# }}}
-# {{{ hardware detection via discover
-config_discover(){
-if checkbootparam 'nodisc' ; then
- ewarn "Skipping hardware detection via discover as requested on boot commandline." ; eend 0
-else
- if [ -x /sbin/discover ] ; then
- einfo "Discovering hardware. Trying to load the following modules in background:"
- eindent
- einfo "$(discover --data-path=linux/module/name --data-path=linux/modules/options --format="%s %s" --data-version=`uname -r` --enable-bus all | sort -u | xargs echo)"
- eoutdent
- /sbin/discover-modprobe -v >>$DEBUG 2>&1 &
- eend 0
- else
- eerror "Application discover not available. Information: udev should handle hardware recognition." ; eend 0
- fi
-fi
-}
-# }}}
-
# {{{ hardware detection via hwinfo
config_hwinfo(){
if checkbootparam 'hwinfo' >>$DEBUG 2>&1; then
[ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "||||">/dev/tty14
-checkvalue $CONFIG_DISCOVER && config_discover
-
checkvalue $CONFIG_HWINFO && config_hwinfo
checkvalue $CONFIG_HOTPLUG_AGENT && config_hotplug_agent