WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [ Solved ] Having trouble with Reboot and Backup  (Read 737 times)

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Having trouble with Reboot and Backup
« Reply #15 on: April 06, 2017, 08:31:39 AM »
Umm... I don't know.

According to the instructions by Rich I was supposed to do all of this with the /usr/bin/exittc
So that is where all of my efforts have been.

I didn't know anything about a /usr/local/bin/exittc

Have I been working in the wrong directory?

BKM

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1540
Re: Having trouble with Reboot and Backup
« Reply #16 on: April 06, 2017, 08:44:28 AM »
bkm,
/usr/bin/exittc
and
/usr/local/bin/exittc
are two different files that do different things.
Do not alter the behavior of the one in  /usr/bin  (which only kills X) but the one in  /usr/local/bin  (which is the actual GUI exit tool).
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1540
Re: Having trouble with Reboot and Backup
« Reply #17 on: April 06, 2017, 08:51:54 AM »
Well, as Rich has pointed out, he didn't actually tested it.
Always a good idea to check out the files by oneself before messing with them. ;)
Download a copy and keep it handy: Core book ;)

Offline bkm

  • Jr. Member
  • **
  • Posts: 72
Re: Having trouble with Reboot and Backup
« Reply #18 on: April 06, 2017, 01:19:46 PM »
 ::)
Thank you Rich, gerald_clark, and Misalf

Lesson Learned... always check everything. Looking at the exittc in /usr/bin reveals it was not the one I was supposed to be altering as Misalf politely point out.

I was already looking for another method to accomplish what I needed to do. I gave up before going back and checking the basics before then asking the "right" question about exittc.  :-[

The Reboot/Backup function now works as I had hoped and everything gets preserved properly.

Since I cannot get back to alter the very first post, if a moderator could kindly mark this solved I would be very appreciative.

Thank you all,
BKM

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5337
Re: [ Solved ] Having trouble with Reboot and Backup
« Reply #19 on: April 06, 2017, 05:35:54 PM »
Hi bkm
Sorry for the confusion. When I wrote those instructions  exittc  was part of the base system and located in  /usr/bin/. It was
since moved into  Xprogs.tcz  which is why it is now in  /usr/local/bin/. Not sure why a script with the same name was placed
under  /usr/bin.