Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
boinc-client
boinc-rcscript.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File boinc-rcscript.patch of Package boinc-client
diff -Naur boinc_core_release_6_4_5/client/scripts/boinc-client.in boinc_core_release_6_4_5p/client/scripts/boinc-client.in --- boinc_core_release_6_4_5/client/scripts/boinc-client.in 2009-02-07 10:14:32.000000000 +0100 +++ boinc_core_release_6_4_5p/client/scripts/boinc-client.in 2009-02-10 19:51:39.000000000 +0100 @@ -59,8 +59,8 @@ # Find the correct ps to use. On solaris /usr/ucb/ps is the one to use # on everything else, we hope the first one in the path is the right one. -if [ -x /usr/ucb/ps ] ; then - PS=/usr/ucb/ps +if [ -x /usr/ps ] ; then + PS=/usr/ps else PS=ps fi @@ -115,7 +115,7 @@ # Name of user to run as: # -BOINCUSER=boinc +BOINCUSER=root # Working directory. Could be /home/boinc, /var/lib/boinc, etc.. # The reason I prefer /var/lib/boinc is that this works best for a @@ -128,9 +128,9 @@ # but I like to rename it and put it in a public place. # (Hint: move boincmgr to /usr/local/bin too so anyone can easily use it). # -BOINCEXE_NAME=boinc_client +BOINCEXE_NAME=boinc BOINCEXE=${bindir}/${BOINCEXE_NAME} -BOINCCMD_NAME=boinccmd +BOINCCMD_NAME=boinc_cmd BOINCCMD=${bindir}/${BOINCCMD_NAME} # Log files (you should rotate these occasionally) @@ -178,8 +178,8 @@ # but if the functions are not found we create our own simple replacements. # (The idea for replacing the functions comes from OpenAFS. Thanks guys!) -if [ -f /etc/rc.d/init.d/functions ] ; then - . /etc/rc.d/init.d/functions +if [ -f /etc/init.d/functions ] ; then + . /etc/init.d/functions else if printf "Hello" >/dev/null 2>/dev/null ; then # printf works @@ -279,7 +279,7 @@ echo -n "Creating $BOINCDIR " if mkdir -p $BOINCDIR 2>/dev/null ; then if [ -n "$BOINCUSER" ] ; then - if chown $BOINCUSER $BOINCDIR ; then + if chown $BOINCUSER $BOINCGROUP $BOINCDIR ; then echo_success else echo_failure
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor