r3446 - trunk/src/host/qemu-neo1973/openmoko

andrew at sita.openmoko.org andrew at sita.openmoko.org
Mon Nov 19 23:09:06 CET 2007


Author: andrew
Date: 2007-11-19 23:09:06 +0100 (Mon, 19 Nov 2007)
New Revision: 3446

Modified:
   trunk/src/host/qemu-neo1973/openmoko/flash.sh
Log:
Add a smart sh snippet that makes sure everything gets killed that should be killed.


Modified: trunk/src/host/qemu-neo1973/openmoko/flash.sh
===================================================================
--- trunk/src/host/qemu-neo1973/openmoko/flash.sh	2007-11-19 21:05:49 UTC (rev 3445)
+++ trunk/src/host/qemu-neo1973/openmoko/flash.sh	2007-11-19 22:09:06 UTC (rev 3446)
@@ -59,6 +59,9 @@
 echo Using \'$rootfs_image\' as the root filesystem image.
 echo Using \'$uboot_image\' as bootloader.
 
+# Make sure ^C wipes everything we might have spawned along the way.
+trap 'kill -- -$$' INT EXIT
+
 # Currently we just make the u-boot image accessible under u-boot.bin
 # and qemu will load it from the working directory.  This is a
 # temporary solution.





More information about the commitlog mailing list