From: Michael Tremer Date: Tue, 8 Jul 2008 18:54:57 +0000 (+0000) Subject: Updated rc script of installer system. X-Git-Tag: v3.0-alpha1~884 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c359bb41a699b9d7e28b314b94d64afebb37c59;p=ipfire-3.x.git Updated rc script of installer system. This now starts dbus system daemon and hald. --- diff --git a/config/install/rc b/config/install/rc index 46cb6a0f2..5f2f2d717 100644 --- a/config/install/rc +++ b/config/install/rc @@ -96,37 +96,40 @@ boot_mesg "Starting system log daemon..." syslogd -O /dev/tty4 $SYSLOGD_EXTRA evaluate_retval +################################################################################ +# Starting dbus daemon # +################################################################################ + +boot_mesg "Starting the D-Bus Messagebus Daemon..." +dbus-uuidgen --ensure +dbus-daemon --system +evaluate_retval ################################################################################ -# Detecting hardware # +# Starting hal daemon # ################################################################################ -boot_mesg "Detecting hardware..." -for MODULE in $(kudzu -qps -t 30 | grep driver: | cut -d ' ' -f 2 | sort | uniq); do - if [ "$MODULE" = "unknown" ] || \ - [ "$MODULE" = "ignore" ] || \ - [ "$MODULE" = "" ]; then - continue - fi - MODULE=$(find /lib/modules -name $(echo $MODULE | sed -e 's/[_-]/*/g')* 2>/dev/null) - [ "$MODULE" == "" ] && continue - MODULE=$(basename $MODULE | cut -d. -f1 | head -1) - - echo "$MODULE" >> /tmp/modules-found.txt - -done +boot_mesg "Starting the HAL Daemon..." +hald --use-syslog & echo_ok -MODULES="ide-generic generic ide-cd ide-disk" +################################################################################ +# Detecting hardware # +################################################################################ + +#boot_mesg "Detecting hardware..." +#echo_ok + +# IDE modules +MODULES="ide-generic ide-cd ide-disk" + +# USB modules MODULES="$MODULES uhci-hcd ehci-hcd ohci-hcd sd_mod sr_mod" MODULES="$MODULES usb-storage usbhid" +# filesystem modules MODULES="$MODULES ext2 ext3 reiserfs reiser4 xfs vfat" -for MODULE in $(cat /tmp/modules-found.txt); do - MODULES="$MODULES $MODULE" -done - for MODULE in $MODULES; do if grep -Eqe "^$MODULE " /proc/modules; then continue