# HG changeset patch # User Pascal Bellard # Date 1223812693 0 # Node ID 77c872f708ab5cd08a71b3ae21521b71ffcf7d99 # Parent c52aada85f580cdc347ac3b715802423159cf588 desktopbox logout: add tazusb support (fix) diff -r c52aada85f58 -r 77c872f708ab tinyutils/desktopbox --- a/tinyutils/desktopbox Sun Oct 12 11:46:22 2008 +0000 +++ b/tinyutils/desktopbox Sun Oct 12 11:58:13 2008 +0000 @@ -224,27 +224,27 @@ NONE " - EXTRA="COMP=none; [ '\$LZMA' = 'true' ] && COMP=lzma; [ '\$GZIP' = 'true' ] && COMP=gzip; [ '\$TAZUSB_WRITE' = 'true' ] && subox 'xterm -e \"tazusb writefs \$COMP\"';" - #[ -f /home/boot/rootfs.gz ] || { TAZUSB_DIALOG=""; EXTRA=""; } + EXTRA="COMP=none; [ \$LZMA = true ] && COMP=lzma; [ \$GZIP = true ] && COMP=gzip; [ \$TAZUSB_WRITE = true ] && { subox \"xterm -e '/usr/bin/tazusb writefs \$COMP'\"; sleep 1; while ps x | grep -v grep | grep -q tazusb; do sleep 1; done; };" + [ -f /home/boot/rootfs.gz ] || { TAZUSB_DIALOG=""; EXTRA=""; } # Logout for Openbox or JWM and system shutdown or reboot. ACTIONS="