1
0
forked from pool/boinc-client
boinc-client/boincmgr

25 lines
438 B
Bash

#!/bin/sh
#
# BOINC Manager on Unix
#!/bin/sh
#
# BOINC - start the BOINC Manager
# Source the configuration file for the boinc-client init script.
#
config_files="./boinc-client.conf /etc/sysconfig/boinc-client"
# Find the correct config file
#
for config_file in $config_files ; do
if [ -f ${config_file} ] ; then
. ${config_file};
break;
fi
done
# Change directory and start BOINC Manager
#
cd $BOINCDIR
exec boinc_gui