Tiny Core Extensions > TCE Talk

How to manage config files?

(1/2) > >>

Marco Trapanese:
Hello,

first I would apologize if my English is not so good. It's not my primary language.

I'm wondering how to manage the extensions' config files.
For example, let's talk about OpenSSH. It requires the ssh_config and sshd_config files to run. By default it will look for them into /usr/local/etc/ssh/

What's the best way to make them persistent?

1. save the files into tce dir and copy to the destination folder at reboot
2. add those files to .filetool.lst
3. something other...

By the way, the wiki page about bootlocal.sh and shutdown.sh is down (403 + 404).

Thanks in advance
Marco

Juanito:
When extensions copy config files to /usr/local/etc, they should check for the existence of a config file and only copy the config file if one does not exist.

If extensions follow the above rule, then you can add your customised config file to .filetool.lst

Marco Trapanese:
Ok, I got it.

Just another example.
I'm compiling Qt Embedded right now.

It will copy all files to /usr/local/Trolltech

How to manage this? Of course I need this folder persistent. But is very large (hundreds of MB), what should I do in this case?

Thanks again
Marco

Juanito:
It sounds like the best solution would be to make a tinycore extension out of it - you can find the instructions to do this in the wiki

Marco Trapanese:
Quite hard for a newbie. It seems strange but there is no Qt Embedded extension yet.
Anyway I will try do to that.

But one should create an extension for every application downloaded and compiled?

Navigation

[0] Message Index

[#] Next page

Go to full version