Tiny Core Base > TCB Bugs

Bug in exitcheck.sh?

(1/2) > >>

jur:
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?

roberts:
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.

jur:
You skirted my question...

Shouldn't backup be performed when calling exitcheck.sh while BACKUP=1?

Kingdomcome:
I to was surprised to find that exitcheck.sh does not automatically backup. the solution is simple enough though.

--- Code: ---touch /tmp/do_backup && exitcheck.sh
--- End code ---

roberts:
exitcheck.sh was not intended to be called from other than exittc.

Navigation

[0] Message Index

[#] Next page

Go to full version