]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Updated rc script of installer system.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2008 18:54:57 +0000 (18:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2008 18:54:57 +0000 (18:54 +0000)
This now starts dbus system daemon and hald.

config/install/rc

index 46cb6a0f2520be0b06a29a39433dda1ea6c7fead..5f2f2d7175fb13e6acbf79e419785891169f7a4c 100644 (file)
@@ -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