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

30 lines
562 B
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/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="/etc/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
# Checking for gui_rpc_auth.cfg
if ! test -f ~/gui_rpc_auth.cfg ; then
    ln -s /var/lib/boinc/gui_rpc_auth.cfg .
fi
# Change directory and start BOINC Manager
#
cd $BOINCDIR
exec boinc_gui