I'd like to automatically backup a couple of files when re-booting or shutting-down SliTaz and restore them when booting-up again. For restoring the files I put a mount and some copy commands in /etc/init.d/local.sh, which works well. But I have no idea where to put copy commands for the backup. Does anyone know what would be the best place for this?
Thanks for the hint, kultex. Automatic backup/restore on shut-down/start-up works now like a charm. It wasn't too difficult. But it would be nice if there was something like "local_up.sh" and "local-dn.sh" in /etc/init.d. People then wouldn't have to tinker with complicated things like /usr/bin/desktopbox ...