forked from pool/boinc-client
d7fb2f46f3
- Removed boinc-bnc_465676.patch (Fixed Upstream) - Removed boinc-bnc_465676.patch (Fixed Upstream) - Removed boinc-client-NotebookWxPanel.patch (Fixed Upstream) - Removed boinc-client-wxWindowListNode.patch (Fixed Upstream) - Fix boinc-manager-lang requires - Major spec file makeover - Updated version - Cleaned up patches - Fixed most deprecated conversion from string constant to 'char*' OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=7
33 lines
613 B
Bash
33 lines
613 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="/etc/boinc-client.conf /etc/sysconfig/boinc-client"
|
|
|
|
# provide a default
|
|
BOINCDIR=/var/lib/boinc
|
|
|
|
# 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
|