mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3501
This commit is contained in:
parent
7088a913bc
commit
a66b29e370
|
@ -12995,3 +12995,9 @@ Daniel June 3 2004
|
||||||
cs_files.C
|
cs_files.C
|
||||||
pers_file_xfer.C
|
pers_file_xfer.C
|
||||||
|
|
||||||
|
Karl 2004-04-04
|
||||||
|
- start: fixed bug where Python 2.3.3 writes 'True' instead of '1' to
|
||||||
|
run_state.xml
|
||||||
|
|
||||||
|
sched/
|
||||||
|
start
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
using std::min;
|
using std::min;
|
||||||
#endif
|
#endif
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
#include "error_numbers.h"
|
#include "error_numbers.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
|
@ -464,7 +464,8 @@ def command_enable_start():
|
||||||
print "Staying in ENABLED mode"
|
print "Staying in ENABLED mode"
|
||||||
else:
|
else:
|
||||||
print "Entering ENABLED mode"
|
print "Entering ENABLED mode"
|
||||||
run_state.enabled = True
|
# NOTE: must use '1', not '0' here
|
||||||
|
run_state.enabled = 1
|
||||||
run_daemons()
|
run_daemons()
|
||||||
time.sleep(10) # give feeder time to start up and create shmem
|
time.sleep(10) # give feeder time to start up and create shmem
|
||||||
remove_stop_sched()
|
remove_stop_sched()
|
||||||
|
@ -483,7 +484,7 @@ def command_disable_stop():
|
||||||
print "Entering DISABLED mode"
|
print "Entering DISABLED mode"
|
||||||
else:
|
else:
|
||||||
print "Staying in DISABLED mode"
|
print "Staying in DISABLED mode"
|
||||||
run_state.enabled = False
|
run_state.enabled = 0
|
||||||
stop_daemons()
|
stop_daemons()
|
||||||
write_stop_sched()
|
write_stop_sched()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue