add a sync near end of copyfiles.  This should be harmless.  Its not
clear that its entirely helpful however, at least on machines using
udev & udisks; to get the CF slot's LED to turn off, I have to unmount
using the GUI, at which point I get a popup saying effectively
"writing data to device".

Signed-off-by: Jim Cromie <[email protected]>
---
 usr/local/sbin/copyfiles.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr/local/sbin/copyfiles.sh b/usr/local/sbin/copyfiles.sh
index b8e73b7..9c039e6 100755
--- a/usr/local/sbin/copyfiles.sh
+++ b/usr/local/sbin/copyfiles.sh
@@ -101,5 +101,6 @@ reconfig_resolvconf "$TARGET_MOUNT"
 update_hosts "$TARGET_MOUNT"
 ${EXECDIR}/setboot.sh
 write_config "$TARGET_MOUNT/etc/voyage.conf" "$VOYAGE_CONF_LIST"
+sync
 umount $TARGET_MOUNT
 echo "copyfiles.sh script completed" >&2
-- 
1.7.11.4


_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to