hal/hald haldaemon.in,1.1,1.2

David Zeuthen david at freedesktop.org
Mon Aug 23 12:57:08 PDT 2004


Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv24177/hald

Modified Files:
	haldaemon.in 
Log Message:
2004-08-23  David Zeuthen  <david at fubar.dk>

	* hald/linux/osspec.c (osspec_probe): Add info.udi to computer
	(process_shutdown_list_callouts_done_for_device): New function
	(process_shutdown_list): New function
	(shutdown_add_recursively_to_list): New function
	(osspec_shutdown): Completely rewrite the shutdown code

	* hald/haldaemon.in: Add 'sleep 3' when restarting the hal daemon
	to get a chance for the shutdown callouts to run



Index: haldaemon.in
===================================================================
RCS file: /cvs/hal/hal/hald/haldaemon.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- haldaemon.in	29 Dec 2003 21:11:07 -0000	1.1
+++ haldaemon.in	23 Aug 2004 19:57:06 -0000	1.2
@@ -57,11 +57,13 @@
         ;;
     restart)
         stop
+	sleep 3
         start
         ;;
     condrestart)
         if [ -f @LOCALSTATEDIR@/lock/subsys/$servicename ]; then
             stop
+	    sleep 3
             start
         fi
         ;;




More information about the hal-commit mailing list