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