WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Reboot from terminal loose .filetool.lst changes  (Read 2618 times)

Offline jdamianb

  • Newbie
  • *
  • Posts: 12
  • Be OpenSource
Reboot from terminal loose .filetool.lst changes
« on: August 21, 2013, 01:15:56 PM »
Good day!

I'm testing the Tiny Core, I just downloaded the coreplus version and I run into this problem: When I modify the .filetool.lst file and then I do a reboot from terminal as root the modifications are lost. I want to know how should send a reboot from terminal, I usually use the command "reboot", on linux I can use the command shutdown -r now but it doesn't exist on TC. Also this problem occurs when I use the command "poweroff". I'm planning to use SSH to supervise the TC boxes so I really would need to know how to make the changes on .filetool.lst persistent.

BTW, this problem do not occur if the reboot is done by the GUI.

I do not consider myself an expert on linux but I have been playing with it for a while (like 5 years :S)
Mind Wide Open
Be OpenSource

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Reboot from terminal loose .filetool.lst changes
« Reply #1 on: August 21, 2013, 01:25:14 PM »
Backup changes before reboot:

Code: [Select]
backup
It will work if you are using a persistent mode, means you have a /tce dir on a storage media like USB, HDD.

It is also a good idea to read TC core concept and FAQ.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jdamianb

  • Newbie
  • *
  • Posts: 12
  • Be OpenSource
Re: Reboot from terminal loose .filetool.lst changes
« Reply #2 on: August 21, 2013, 01:52:37 PM »
Thank you!  :D

I was about to answer myself, I found that if the command

filetool.sh -b

is used it will backup everything. I assume that the backup command is similar to the filetool.sh -b, isn't it?
Mind Wide Open
Be OpenSource

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Reboot from terminal loose .filetool.lst changes
« Reply #3 on: August 21, 2013, 07:00:05 PM »
You can also type

backup 

:)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Reboot from terminal loose .filetool.lst changes
« Reply #4 on: August 21, 2013, 07:26:41 PM »
You can also type

backup 

:)

See Reply #1
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Reboot from terminal loose .filetool.lst changes
« Reply #5 on: August 21, 2013, 07:58:05 PM »
lol at least we think alike

Ok then,  how about

backup && sudo poweroff

Or perhaps add " backup " to the shutdown script ?

:)
« Last Edit: August 21, 2013, 08:12:01 PM by coreplayer2 »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Reboot from terminal loose .filetool.lst changes
« Reply #6 on: August 22, 2013, 02:15:10 AM »
:)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."