Ticket #762: linuxmgr-clientstart.3.diff
File linuxmgr-clientstart.3.diff, 2.4 KB (added by , 16 years ago) |
---|
-
client/cs_cmdline.cpp
55 55 " --file_xfer_giveup_period N give up on file xfers after N sec\n" 56 56 " --gui_rpc_port <port> port for GUI RPCs\n" 57 57 " --help show options\n" 58 #ifdef SANDBOX 58 59 " --insecure disable app sandboxing (Unix)\n" 60 #endif 59 61 " --launched_by_manager client was launched by Manager\n" 60 62 " --master_fetch_period N reload master URL after N RPC failures\n" 61 63 " --master_fetch_retry_cap N exponential backoff limit\n" … … 68 70 " --redirectio redirect stdout and stderr to log files\n" 69 71 " --retry_cap N exponential backoff limit\n" 70 72 " --run_cpu_benchmarks run the CPU benchmarks\n" 71 #ifdef SANDBOX72 #endif73 73 " --run_by_updater set by updater\n" 74 74 " --saver client was launched by screensaver\n" 75 75 " --sched_retry_delay_min N min for RPC exponential backoff\n" … … 205 205 } 206 206 } else if (ARG(no_gui_rpc)) { 207 207 no_gui_rpc = true; 208 } else if (ARG(insecure)) { 209 //do nothing if sandbox is disabled, but always recognize the 210 //option to avoid errors 208 211 #ifdef SANDBOX 209 } else if (ARG(insecure)) {210 212 g_use_sandbox = false; 211 213 #endif 212 214 } else if (ARG(launched_by_manager)) { -
clientgui/BOINCClientManager.cpp
262 262 263 263 // Append boinc.exe to the end of the strExecute string and get ready to rock 264 264 strExecute = ::wxGetCwd() + wxT("/boinc --redirectio --launched_by_manager"); 265 #ifdef SANDBOX 265 266 if (!g_use_sandbox) { 266 267 strExecute += wxT(" --insecure"); 267 268 } 269 #endif 268 270 269 271 wxLogTrace(wxT("Function Status"), wxT("CMainDocument::StartupBOINCCore - szExecute '%s'\n"), strExecute.c_str()); 270 272 wxLogTrace(wxT("Function Status"), wxT("CMainDocument::StartupBOINCCore - szDataDirectory '%s'\n"), ::wxGetCwd().c_str());