00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #include <startup.rh>
00032
00034
00036
00037
00038
00039
00040 RESOURCE STARTUP_ENTRY_POINT r_entry_point
00041 {
00042 entry_point = r_startup_state_critical_static;
00043 }
00045
00046
00047
00049
00051 RESOURCE STATE_INFO r_startup_state_critical_static
00052 {
00053 id = EStartupStateCriticalStatic;
00054 name = "Critical Static";
00055 command_list = r_critical_static_commands;
00056 next = r_startup_state_critical_dynamic;
00057 }
00058
00059 RESOURCE COMMAND_ARRAY r_critical_static_commands
00060 {
00061 commands =
00062 {
00063 START_PROCESS_INFO
00064 {
00065 path = "Z:\\sys\\bin\\SysAgt2Svr.exe";
00066 start_method = EWaitForStart;
00067 no_of_retries_on_failure = 2;
00068 },
00069
00070 START_PROCESS_INFO
00071 {
00072 path = "Z:\\sys\\bin\\fbserv.exe";
00073 start_method = EWaitForStart;
00074 no_of_retries_on_failure = 1;
00075 },
00076 START_PROCESS_INFO
00077 {
00078 path = "Z:\\sys\\bin\\wserv.exe";
00079 args = "-NoShell";
00080 start_method = EWaitForStart;
00081 },
00082 SPLASH_SCREEN
00083 {
00084 path = "Z:\\sys\\bin\\splash.exe";
00085 },
00086 START_PROCESS_INFO
00087 {
00088 path = "Z:\\system\\programs\\eiksrvs.exe";
00089 args = "-OnlyStartDependentServers";
00090 start_method = EWaitForStart;
00091 },
00092 START_PROCESS_INFO
00093 {
00094 path = "Z:\\sys\\bin\\sisregistryserver.exe";
00095 start_method = EWaitForStart;
00096 },
00097
00098 START_PROCESS_INFO
00099 {
00100 path = "Z:\\sys\\bin\\tzserver.exe";
00101 start_method = EWaitForStart;
00102 }
00103 };
00104 }
00105
00107
00109 RESOURCE STATE_INFO r_startup_state_critical_dynamic
00110 {
00111 id = EStartupStateCriticalDynamic;
00112 name = "Critical Dynamic";
00113 command_list = r_critical_dynamic_commands;
00114 next = r_startup_state_non_critical;
00115 }
00116
00117 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands
00118 {
00119 commands =
00120 {
00121 START_PROCESS_INFO
00122 {
00123 path = "Z:\\sys\\bin\\watcher.exe";
00124 fail_on_error = 0;
00125 },
00126 SPLASH_SCREEN
00127 {
00128 kill = 1;
00129 }
00130
00131 };
00132 }
00133
00135
00137 RESOURCE STATE_INFO r_startup_state_non_critical
00138 {
00139 id = EStartupStateNonCritical;
00140 name = "Non-critical";
00141 command_list = r_non_critical_commands;
00142 next = 0;
00143 }
00144
00145 RESOURCE COMMAND_ARRAY r_non_critical_commands
00146 {
00147 commands =
00148 {
00149 START_PROCESS_INFO
00150 {
00151 path = "Z:\\system\\programs\\apsexe.exe";
00152 start_method = EWaitForStart;
00153 },
00154 START_APP_INFO
00155 {
00156 path = "Z:\\sys\\bin\\shell.exe";
00157 viewless = 1;
00158 },
00159 START_PROCESS_INFO
00160 {
00161 path = "Z:\\sys\\bin\\SystemAMS.exe";
00162 args = "-boot";
00163 fail_on_error = 0;
00164 },
00165 START_PROCESS_INFO
00166 {
00167 path = "Z:\\sys\\bin\\swidaemon.exe";
00168 start_method = EWaitForStart;
00169 }
00170 };
00171 }
00172
00173