Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: bigpcman on January 28, 2010, 08:48:32 AM

Title: Is this still the way startup scripts get executed?
Post by: bigpcman on January 28, 2010, 08:48:32 AM
Quote
On startup, tc-config finds all files within /usr/local/tce.installed that have 755 permissions and executes them.
Title: Re: Is this still the way startup scripts get executed?
Post by: curaga on January 28, 2010, 09:06:01 AM
Nowadays a list of extension basenames is made, the list is checked against files in tce.installed, and if executable, run.

This keeps the order, so scripts of the deps are run before scripts of the dependent app.
Title: Re: Is this still the way startup scripts get executed?
Post by: bigpcman on January 28, 2010, 09:12:49 AM
Nowadays a list of extension basenames is made, the list is checked against files in tce.installed, and if executable, run.

This keeps the order, so scripts of the deps are run before scripts of the dependent app.

I assume then tc-config and tce-load create and "manage" this list?
Title: Re: Is this still the way startup scripts get executed?
Post by: curaga on January 28, 2010, 09:23:08 AM
This is only on boot, the on-demand loading hasn't changed (check the extension basename). Yes, tc-config via tce-setup. I believe it's removed when not needed anymore.