Welcome, Guest. Please login or register.

Author Topic: user-startup -- Really useful?  (Read 9510 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: user-startup -- Really useful?
« on: October 25, 2003, 01:39:14 AM »
Quote

adolescent wrote:
Useful.  Sure, I could combine everything into one.  But, then the next BB comes out and overwrites it and I need to add everything back in again.   I don't see a valid reason to change.


And that's a very good reason for leaving the startup-sequence alone and only adding commands to user-startup, not to mention that Installer plays with user-startup by default (and can happily add and change sections relevant to particular installed applications), and you can add commands to user-statup with an "echo >>s:user-startup".

Obviously on occasion you need to add things before or immediately after Setpatch, but for most things user-startup works perfectly.

Chris
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline chris

Re: user-startup -- Really useful?
« Reply #1 on: October 25, 2003, 12:43:27 PM »
Quote

amigaguy wrote:
And how exactly do you determine which programs are executed first in the WB Startup drawer now that you moved them there?


There's a tooltype - STARTPRI I think - which sets the order the programs are launched in.  Under OS3.5 and up, there is a section under Icon => Information to set this without manually adding tooltypes.  Under normal circumstances it doesn't matter which order WBStartUp programs are launched in anyway.

Chris
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline chris

Re: user-startup -- Really useful?
« Reply #2 on: October 25, 2003, 12:48:29 PM »
Quote

scholle wrote:
As we now, the user-startup script is called by run, thus executed in background. So the execution of programs called by startup-sequence is not over yet.


Not according to my default startup-sequence: user-startup is just executed.  It would be potentially dangerous to let it execute while startup-sequence is opening Workbench, and would also prevent the initial Shell from closing, making the bootup look a bit messy.

Chris
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz