Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: jur on December 27, 2009, 12:36:21 AM
-
I programmed some of my buttons to do shutdown and reboot, and call exitcheck.sh shutdown/reboot from the button scripts. But I don't see that backup is happening; that only happens if I use the graphical exittc routine.
Shouldn't backup be performed when BACKUP=1 and exitcheck.sh is called?
-
Simply unchecking the box in the GUI does not affect the environment BACKUP status.
Instead exittc, the GUI, comminicates via a flag, /tmp/do_backup, to exitcheck to perform the backup.
-
You skirted my question...
Shouldn't backup be performed when calling exitcheck.sh while BACKUP=1?
-
I to was surprised to find that exitcheck.sh does not automatically backup. the solution is simple enough though.
touch /tmp/do_backup && exitcheck.sh
-
exitcheck.sh was not intended to be called from other than exittc.
-
roberts,
Is there a recommended way to back up and shut down MicroCore without X?
-
filetool.sh backup
- or -
filetool.sh backup noprompt
-
What is tc-functions for, which gets called at the start of exitcheck? Is it necessary to include this?
If not exitcheck, what do you call on shutting down with a hotkey? filetool.sh does not call shutdown.sh. I think perhaps it should be exitcheck.sh? All the necessary code is there except for the backup issue.