On Tuesday 23 March 2010 07:28:05 pm Bernie Innocenti wrote: > All we need is a fast way to recover from disasters. A "panic button" > which would reset all settings. It could be implemented in > olpc-configure with 3 lines of code. In the absence of a recovery > option, technicians resort to flashing laptops that have been tampered > with beyond some point. One simple way would to be save home directory into /var/lib/home-save.tgz on issue and then restore it while booting:
test -f $HOMEDIR/.dontrestore || tar xjvf /var/lib/home-save.tbz -C $HOMEDIR ./ To restore, remove $HOMEDIR/.dontrestore and reboot. This is not a robust solution but it should take care of most 'experiments' by kids ;-). HTH .. Subbu _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel