hal/tools/callouts fstab-update.sh,1.4,1.5

David Zeuthen david at pdx.freedesktop.org
Sat May 1 12:29:19 PDT 2004


Update of /cvs/hal/hal/tools/callouts
In directory pdx:/tmp/cvs-serv19656/tools/callouts

Modified Files:
	fstab-update.sh 
Log Message:
2004-05-01  David Zeuthen  <david at fubar.dk>

	* hald/Makefile.am (install-data-local): create /etc/hal/property.d

	* tools/callouts/fstab-update.sh: s/msdos/vfat/ if applicable

	* hald/logger.h: include stdio.h, stdlib.h since DIE macro uses this

	* doc/TODO: removed a TODO-note :-)

	* hald/callout.c (wait_for_callout): removed
	(handle_sigchld): new function
	(iochn_data): new function
	(process_callouts): install signal handler and setup GIOChannel
	stuff; don't install timeout for waiting for child

	* hald/linux/class_device.c (class_device_detection_done): removed

	* hald/linux/bus_device.c (bus_device_detection_done): removed



Index: fstab-update.sh
===================================================================
RCS file: /cvs/hal/hal/tools/callouts/fstab-update.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- a/fstab-update.sh	10 Apr 2004 22:30:27 -0000	1.4
+++ b/fstab-update.sh	1 May 2004 19:29:17 -0000	1.5
@@ -53,7 +53,11 @@
 	# HAL might have autodetected the filesystem type for us - in that
         # case use it...
 	if test $HAL_PROP_BLOCK_FSTYPE; then
-	    echo -ne "$HAL_PROP_BLOCK_FSTYPE\t" >> /etc/fstab
+	    if test $HAL_PROP_BLOCK_FSTYPE = "msdos"; then
+		echo -ne "vfat\t" >> /etc/fstab
+	    else
+		echo -ne "$HAL_PROP_BLOCK_FSTYPE\t" >> /etc/fstab
+	    fi
 	else
 	    echo -ne "auto\t" >> /etc/fstab
 	fi





More information about the hal-commit mailing list