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 #include <startup.rh>
00031
00033
00035
00036
00037
00038
00039 RESOURCE STARTUP_ENTRY_POINT r_entry_point
00040 {
00041 entry_point = r_startup_state_critical_static;
00042 }
00044
00045
00046
00048
00050 RESOURCE STATE_INFO r_startup_state_critical_static
00051 {
00052 id = EStartupStateCriticalStatic;
00053 name = "Critical Static";
00054 command_list = r_critical_static_commands;
00055 next = r_startup_state_critical_dynamic;
00056 }
00057
00058 RESOURCE COMMAND_ARRAY r_critical_static_commands
00059 {
00060 commands =
00061 {
00062 START_PROCESS_INFO
00063 {
00064 path = "Z:\\sys\\bin\\SysAgt2Svr.exe";
00065 start_method = EWaitForStart;
00066 no_of_retries_on_failure = 2;
00067 },
00068
00069 START_PROCESS_INFO
00070 {
00071 path = "Z:\\sys\\bin\\fbserv.exe";
00072 start_method = EWaitForStart;
00073 no_of_retries_on_failure = 1;
00074 },
00075 START_PROCESS_INFO
00076 {
00077 path = "Z:\\sys\\bin\\wserv.exe";
00078 args = "-NoShell";
00079 start_method = EWaitForStart;
00080 },
00081 SPLASH_SCREEN
00082 {
00083 path = "Z:\\sys\\bin\\splash.exe";
00084 },
00085 START_PROCESS_INFO
00086 {
00087 path = "Z:\\system\\programs\\eiksrvs.exe";
00088 args = "-OnlyStartDependentServers";
00089 start_method = EWaitForStart;
00090 },
00091 START_PROCESS_INFO
00092 {
00093 path = "Z:\\sys\\bin\\sisregistryserver.exe";
00094 start_method = EWaitForStart;
00095 },
00096
00097 START_PROCESS_INFO
00098 {
00099 path = "Z:\\sys\\bin\\tzserver.exe";
00100 start_method = EWaitForStart;
00101 }
00102 };
00103 }
00104
00106
00108 RESOURCE STATE_INFO r_startup_state_critical_dynamic
00109 {
00110 id = EStartupStateCriticalDynamic;
00111 name = "Critical Dynamic";
00112 command_list = r_critical_dynamic_commands;
00113 next = r_startup_state_non_critical;
00114 }
00115
00116 RESOURCE COMMAND_ARRAY r_critical_dynamic_commands
00117 {
00118 commands =
00119 {
00120 START_PROCESS_INFO
00121 {
00122 path = "Z:\\sys\\bin\\watcher.exe";
00123 fail_on_error = 0;
00124 },
00125 SPLASH_SCREEN
00126 {
00127 kill = 1;
00128 }
00129
00130 };
00131 }
00132
00134
00136 RESOURCE STATE_INFO r_startup_state_non_critical
00137 {
00138 id = EStartupStateNonCritical;
00139 name = "Non-critical";
00140 command_list = r_non_critical_commands;
00141 next = 0;
00142 }
00143
00144 RESOURCE COMMAND_ARRAY r_non_critical_commands
00145 {
00146 commands =
00147 {
00148 START_PROCESS_INFO
00149 {
00150 path = "Z:\\system\\programs\\apsexe.exe";
00151 start_method = EWaitForStart;
00152 },
00153 START_APP_INFO
00154 {
00155 path = "Z:\\sys\\bin\\shell.exe";
00156 viewless = 1;
00157 },
00158 START_PROCESS_INFO
00159 {
00160 path = "Z:\\sys\\bin\\SystemAMS.exe";
00161 args = "-boot";
00162 fail_on_error = 0;
00163 },
00164 START_PROCESS_INFO
00165 {
00166 path = "Z:\\sys\\bin\\swidaemon.exe";
00167 start_method = EWaitForStart;
00168 }
00169 };
00170 }
00171
00172