WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Is this still the way startup scripts get executed?  (Read 1994 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Is this still the way startup scripts get executed?
« 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.
big pc man

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Is this still the way startup scripts get executed?
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Is this still the way startup scripts get executed?
« Reply #2 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?
big pc man

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Is this still the way startup scripts get executed?
« Reply #3 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.
The only barriers that can stop you are the ones you create yourself.