public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-02-01 14:33 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-02-01 14:33 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/02/01 14:33:37

  Modified:             boinc.init
  Log:
  Update init script so it works with baselayout1 again. Per bug #257113.
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.8                  sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.7&r2=1.8

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- boinc.init	31 Jan 2009 15:19:36 -0000	1.7
+++ boinc.init	1 Feb 2009 14:33:37 -0000	1.8
@@ -64,11 +64,18 @@
 	# sys-apps/util-linux
 	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
 
+	# check for baselayout version
+	if [[ "`start-stop-daemon --version |awk -F' ' '{print $2}'`" = "(OpenRC)" ]]; then
+		PARAMS="--stdout ${LOGFILE} --stderr ${LOGFILE} -- ${ARGS}"
+	else
+		PARAMS="-- ${ARGS} &> ${LOGFILE}"
+	fi
+
 	${CHRT} start-stop-daemon \
 		--quiet --start --chdir ${RUNTIMEDIR} \
 		--exec ${BOINCBIN} --chuid ${USER}:${GROUP} \
-		--background --stdout ${LOGFILE} --stderr ${LOGFILE} \
-		--nicelevel ${NICELEVEL} -- ${ARGS}
+		--background --nicelevel ${NICELEVEL} \
+		${PARAMS}
 
 	RESULT=$?
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-02-01 23:06 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-02-01 23:06 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/02/01 23:06:44

  Modified:             boinc.init
  Log:
  Fix initscript for baselayout-1. This time for real :]. Per bug #257113. Big thanks to Andrea Conti <alyf@alyf.net>
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.8&r2=1.9

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- boinc.init	1 Feb 2009 14:33:37 -0000	1.8
+++ boinc.init	1 Feb 2009 23:06:44 -0000	1.9
@@ -66,15 +66,15 @@
 
 	# check for baselayout version
 	if [[ "`start-stop-daemon --version |awk -F' ' '{print $2}'`" = "(OpenRC)" ]]; then
-		PARAMS="--stdout ${LOGFILE} --stderr ${LOGFILE} -- ${ARGS}"
+		PARAMS="--background --stdout ${LOGFILE} --stderr ${LOGFILE} -- ${ARGS}"
 	else
-		PARAMS="-- ${ARGS} &> ${LOGFILE}"
+		PARAMS="-- ${ARGS} >> ${LOGFILE} 2>&1 &"
 	fi
 
-	${CHRT} start-stop-daemon \
+	eval ${CHRT} start-stop-daemon \
 		--quiet --start --chdir ${RUNTIMEDIR} \
 		--exec ${BOINCBIN} --chuid ${USER}:${GROUP} \
-		--background --nicelevel ${NICELEVEL} \
+		--nicelevel ${NICELEVEL} \
 		${PARAMS}
 
 	RESULT=$?






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-02-03 14:58 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-02-03 14:58 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/02/03 14:58:29

  Modified:             boinc.init
  Log:
  Fix init with final version. Thanks to UberLord.
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.10                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.9&r2=1.10

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- boinc.init	1 Feb 2009 23:06:44 -0000	1.9
+++ boinc.init	3 Feb 2009 14:58:29 -0000	1.10
@@ -65,7 +65,7 @@
 	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
 
 	# check for baselayout version
-	if [[ "`start-stop-daemon --version |awk -F' ' '{print $2}'`" = "(OpenRC)" ]]; then
+	if [[ -n "${RC_UNAME}" ]]; then
 		PARAMS="--background --stdout ${LOGFILE} --stderr ${LOGFILE} -- ${ARGS}"
 	else
 		PARAMS="-- ${ARGS} >> ${LOGFILE} 2>&1 &"






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-03-11 20:48 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-03-11 20:48 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/03/11 20:48:17

  Modified:             boinc.init
  Log:
  Fix directory rights for workdir when attaching to a project. Per bug #259410.
  (Portage version: 2.2_rc24/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.10&r2=1.11

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- boinc.init	3 Feb 2009 14:58:29 -0000	1.10
+++ boinc.init	11 Mar 2009 20:48:17 -0000	1.11
@@ -105,7 +105,7 @@
 		# we have to work in runtime directory
 		cd $RUNTIMEDIR
 		# boinc does not return 1 when it fails currently
-		$BOINCBIN --attach_project $url $key &> /dev/null
+		$BOINCBIN --chuid ${USER}:${GROUP} --attach_project $url $key &> /dev/null
 	eend $?
 
 	sleep 10






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-04-23 16:00 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-04-23 16:00 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/04/23 16:00:17

  Modified:             boinc.init
  Log:
  Fix multilib support for cuda. Per bug #266637.
  (Portage version: 2.2_rc30/cvs/Linux x86_64)

Revision  Changes    Path
1.12                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.11&r2=1.12

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- boinc.init	11 Mar 2009 20:48:17 -0000	1.11
+++ boinc.init	23 Apr 2009 16:00:17 -0000	1.12
@@ -30,9 +30,9 @@
 }
 
 cuda_check() {
-	if [[ -f /opt/cuda/lib/libcudart.so ]]; then
+	if [[ -f /opt/cuda/%LIBDIR%/libcudart.so ]]; then
 		# symlink wont harm :]
-		ln -snf /opt/cuda/lib/libcudart.so $RUNTIMEDIR/libcudart.so
+		ln -snf /opt/cuda/%LIBDIR%/libcudart.so $RUNTIMEDIR/libcudart.so
 	fi
 }
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-04-23 16:13 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-04-23 16:13 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/04/23 16:13:33

  Modified:             boinc.init
  Log:
  Some gentoo syntax improvement in init.d file.
  (Portage version: 2.2_rc30/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.12&r2=1.13

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- boinc.init	23 Apr 2009 16:00:17 -0000	1.12
+++ boinc.init	23 Apr 2009 16:13:33 -0000	1.13
@@ -8,31 +8,31 @@
 }
 
 create_work_directory() {
-	if [[ ! -d $RUNTIMEDIR ]]; then
-		einfo "Directory $RUNTIMEDIR not existing, creating now."
-		mkdir $RUNTIMEDIR
-		chown ${USER}:${GROUP} $RUNTIMEDIR
-		if [[ ! -d $RUNTIMEDIR ]]; then
-			eeror "Directory $RUNTIMEDIR could not be created!"
+	if [[ ! -d ${RUNTIMEDIR} ]]; then
+		einfo "Directory ${RUNTIMEDIR} not existing, creating now."
+		mkdir ${RUNTIMEDIR}
+		chown ${USER}:${GROUP} ${RUNTIMEDIR}
+		if [[ ! -d ${RUNTIMEDIR} ]]; then
+			eeror "Directory ${RUNTIMEDIR} could not be created!"
 			return 1
 		fi
-		ln -s /etc/ssl/certs/ca-certificates.crt $RUNTIMEDIR/ca-bundle.crt
+		ln -s /etc/ssl/certs/ca-certificates.crt ${RUNTIMEDIR}/ca-bundle.crt
 	fi
 }
 
 generate_logs() {
-	if [[ ! -f $LOGFILE ]]; then
-		einfo "No $LOGFILE around. Creating new..."
+	if [[ ! -f ${LOGFILE} ]]; then
+		einfo "No ${LOGFILE} around. Creating new..."
 		einfo "For good log rotation is great tool app-admin/logrotate"
-		touch $LOGFILE
-		chown ${USER}:${GROUP} $LOGFILE
+		touch ${LOGFILE}
+		chown ${USER}:${GROUP} ${LOGFILE}
 	fi
 }
 
 cuda_check() {
 	if [[ -f /opt/cuda/%LIBDIR%/libcudart.so ]]; then
 		# symlink wont harm :]
-		ln -snf /opt/cuda/%LIBDIR%/libcudart.so $RUNTIMEDIR/libcudart.so
+		ln -snf /opt/cuda/%LIBDIR%/libcudart.so ${RUNTIMEDIR}/libcudart.so
 	fi
 }
 
@@ -42,7 +42,7 @@
 	create_work_directory
 	cuda_check
 
-	cd $RUNTIMEDIR
+	pushd ${RUNTIMEDIR} > /dev/null
 
 	if [[ ! -f lockfile ]]; then
 		einfo "File $RUNTIMEDIR/lockfile does not exist, assuming first run."
@@ -88,7 +88,7 @@
 		fi							      
 	fi	  
 
-	eend $RESULT
+	eend ${RESULT}
 }
 
 attach() {
@@ -103,18 +103,19 @@
 	fi
 	ebegin "Attaching to project"
 		# we have to work in runtime directory
-		cd $RUNTIMEDIR
+		pushd ${RUNTIMEDIR} > /dev/null
 		# boinc does not return 1 when it fails currently
-		$BOINCBIN --chuid ${USER}:${GROUP} --attach_project $url $key &> /dev/null
+		${BOINCBIN} --chuid ${USER}:${GROUP} --attach_project ${url} ${key} &> /dev/null
+		popd > /dev/null
 	eend $?
 
 	sleep 10
-	tail $LOGFILE
+	tail ${LOGFILE}
 }
 
 stop() {
 	ebegin "Stopping BOINC"
-	start-stop-daemon --stop --retry 3 --quiet --exec $BOINCBIN
+	start-stop-daemon --stop --retry 3 --quiet --exec ${BOINCBIN}
 	eend $?
 }
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-05-29 16:42 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-05-29 16:42 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/05/29 16:42:46

  Modified:             boinc.init
  Log:
  Apply patch for cuda detection. Per bug #270292. Thanks to Poly-C for patch.
  (Portage version: 2.2_rc33/cvs/Linux i686)

Revision  Changes    Path
1.14                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.13&r2=1.14

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- boinc.init	23 Apr 2009 16:13:33 -0000	1.13
+++ boinc.init	29 May 2009 16:42:46 -0000	1.14
@@ -30,9 +30,9 @@
 }
 
 cuda_check() {
-	if [[ -f /opt/cuda/%LIBDIR%/libcudart.so ]]; then
+	if [[ -f /opt/cuda/lib/libcudart.so ]]; then
 		# symlink wont harm :]
-		ln -snf /opt/cuda/%LIBDIR%/libcudart.so ${RUNTIMEDIR}/libcudart.so
+		ln -snf /opt/cuda/lib/libcudart.so ${RUNTIMEDIR}/libcudart.so
 	fi
 }
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-07-08  9:00 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-07-08  9:00 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/07/08 09:00:32

  Modified:             boinc.init
  Log:
  Use pidfile in initscript. Per bug #276271.
  (Portage version: 2.2_rc33/cvs/Linux i686)

Revision  Changes    Path
1.15                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.14&r2=1.15

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- boinc.init	29 May 2009 16:42:46 -0000	1.14
+++ boinc.init	8 Jul 2009 09:00:32 -0000	1.15
@@ -1,6 +1,7 @@
 #!/sbin/runscript
 
 opts="${opts} attach"
+PIDFILE=/var/run/boinc.pid
 
 depend() {
 	# we can use dns and net, but we can also in most cases live without them
@@ -73,6 +74,8 @@
 
 	eval ${CHRT} start-stop-daemon \
 		--quiet --start --chdir ${RUNTIMEDIR} \
+		--pidfile ${PIDFILE} \
+		--make-pidfile \
 		--exec ${BOINCBIN} --chuid ${USER}:${GROUP} \
 		--nicelevel ${NICELEVEL} \
 		${PARAMS}
@@ -116,6 +119,7 @@
 stop() {
 	ebegin "Stopping BOINC"
 	start-stop-daemon --stop --retry 3 --quiet --exec ${BOINCBIN}
+	rm -f ${PIDFILE}
 	eend $?
 }
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-07-24 10:58 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-07-24 10:58 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/07/24 10:58:33

  Modified:             boinc.init
  Log:
  Remove bashism in initscript. Per bug #278811. Thanks to Michał Górny for the patch.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.16                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.16&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.16&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.15&r2=1.16

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- boinc.init	8 Jul 2009 09:00:32 -0000	1.15
+++ boinc.init	24 Jul 2009 10:58:33 -0000	1.16
@@ -9,31 +9,31 @@
 }
 
 create_work_directory() {
-	if [[ ! -d ${RUNTIMEDIR} ]]; then
+	if [ ! -d "${RUNTIMEDIR}" ]; then
 		einfo "Directory ${RUNTIMEDIR} not existing, creating now."
-		mkdir ${RUNTIMEDIR}
-		chown ${USER}:${GROUP} ${RUNTIMEDIR}
-		if [[ ! -d ${RUNTIMEDIR} ]]; then
+		mkdir "${RUNTIMEDIR}"
+		chown "${USER}:${GROUP}" "${RUNTIMEDIR}"
+		if [ ! -d "${RUNTIMEDIR}" ]; then
 			eeror "Directory ${RUNTIMEDIR} could not be created!"
 			return 1
 		fi
-		ln -s /etc/ssl/certs/ca-certificates.crt ${RUNTIMEDIR}/ca-bundle.crt
+		ln -s /etc/ssl/certs/ca-certificates.crt "${RUNTIMEDIR}"/ca-bundle.crt
 	fi
 }
 
 generate_logs() {
-	if [[ ! -f ${LOGFILE} ]]; then
+	if [ ! -f "${LOGFILE}" ]; then
 		einfo "No ${LOGFILE} around. Creating new..."
 		einfo "For good log rotation is great tool app-admin/logrotate"
-		touch ${LOGFILE}
-		chown ${USER}:${GROUP} ${LOGFILE}
+		touch "${LOGFILE}"
+		chown "${USER}:${GROUP}" "${LOGFILE}"
 	fi
 }
 
 cuda_check() {
-	if [[ -f /opt/cuda/lib/libcudart.so ]]; then
+	if [ -f /opt/cuda/lib/libcudart.so ]; then
 		# symlink wont harm :]
-		ln -snf /opt/cuda/lib/libcudart.so ${RUNTIMEDIR}/libcudart.so
+		ln -snf /opt/cuda/lib/libcudart.so "${RUNTIMEDIR}"/libcudart.so
 	fi
 }
 
@@ -43,9 +43,9 @@
 	create_work_directory
 	cuda_check
 
-	pushd ${RUNTIMEDIR} > /dev/null
+	cd "${RUNTIMEDIR}"
 
-	if [[ ! -f lockfile ]]; then
+	if [ ! -f lockfile ]; then
 		einfo "File $RUNTIMEDIR/lockfile does not exist, assuming first run."
 		einfo "You need to setup an account on the BOINC project homepage beforehand!"
 		einfo "Go to http://boinc.berkeley.edu/ and locate your project."
@@ -58,36 +58,36 @@
 
 	generate_logs
 
-	if [[ ${ALLOW_REMOTE_RPC} = "yes" ]]; then
+	if [ "${ALLOW_REMOTE_RPC}" = "yes" ]; then
 		ARGS="${ARGS} -allow_remote_gui_rpc"
 	fi
-	
+
 	# sys-apps/util-linux
 	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
 
 	# check for baselayout version
-	if [[ -n "${RC_UNAME}" ]]; then
-		PARAMS="--background --stdout ${LOGFILE} --stderr ${LOGFILE} -- ${ARGS}"
+	if [ -n "${RC_UNAME}" ]; then
+		PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}"
 	else
-		PARAMS="-- ${ARGS} >> ${LOGFILE} 2>&1 &"
+		PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1 &"
 	fi
 
 	eval ${CHRT} start-stop-daemon \
-		--quiet --start --chdir ${RUNTIMEDIR} \
-		--pidfile ${PIDFILE} \
+		--quiet --start --chdir "${RUNTIMEDIR}" \
+		--pidfile "${PIDFILE}" \
 		--make-pidfile \
-		--exec ${BOINCBIN} --chuid ${USER}:${GROUP} \
-		--nicelevel ${NICELEVEL} \
+		--exec "${BOINCBIN}" --chuid "${USER}:${GROUP}" \
+		--nicelevel "${NICELEVEL}" \
 		${PARAMS}
 
 	RESULT=$?
 
-	if [ "${CPU_SHARE}" -a -d /sys/kernel/uids ]; then
-		BUID=`id -u ${USER}`
+	if [ "${CPU_SHARE}" ] && [ -d /sys/kernel/uids ]; then
+		BUID="$(id -u "${USER}")"
 		# It might take a moment for start-stop-daemon to chuid
-		[[ -d /sys/kernel/uids/${BUID} ]] || sleep 5 # 5 was working always here
-		if [[ -w /sys/kernel/uids/${BUID}/cpu_share ]]; then
-			echo ${CPU_SHARE} > /sys/kernel/uids/${BUID}/cpu_share
+		[ -d /sys/kernel/uids/"${BUID}" ] || sleep 5 # 5 was working always here
+		if [ -w /sys/kernel/uids/"${BUID}"/cpu_share ]; then
+			echo "${CPU_SHARE}" > /sys/kernel/uids/"${BUID}"/cpu_share
 		fi							      
 	fi	  
 
@@ -101,25 +101,24 @@
 	read key
 
 	RC_QUIET_STDOUT="yes" svc_status
-	if [[ $? = 1 ]]; then
+	if [ $? = 1 ]; then
 		svc_start
 	fi
 	ebegin "Attaching to project"
 		# we have to work in runtime directory
-		pushd ${RUNTIMEDIR} > /dev/null
+		cd "${RUNTIMEDIR}"
 		# boinc does not return 1 when it fails currently
-		${BOINCBIN} --chuid ${USER}:${GROUP} --attach_project ${url} ${key} &> /dev/null
-		popd > /dev/null
+		"${BOINCBIN}" --chuid "${USER}:${GROUP}" --attach_project "${url}" "${key}" &> /dev/null
 	eend $?
 
 	sleep 10
-	tail ${LOGFILE}
+	tail "${LOGFILE}"
 }
 
 stop() {
 	ebegin "Stopping BOINC"
-	start-stop-daemon --stop --retry 3 --quiet --exec ${BOINCBIN}
-	rm -f ${PIDFILE}
+	start-stop-daemon --stop --retry 3 --quiet --exec "${BOINCBIN}"
+	rm -f "${PIDFILE}"
 	eend $?
 }
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-09-02 21:22 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-09-02 21:22 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/09/02 21:22:20

  Modified:             boinc.init
  Log:
  Fix attach function. Per bug #266684.
  (Portage version: 2.2_rc40/cvs/Linux x86_64)

Revision  Changes    Path
1.17                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.16&r2=1.17

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- boinc.init	24 Jul 2009 10:58:33 -0000	1.16
+++ boinc.init	2 Sep 2009 21:22:20 -0000	1.17
@@ -108,7 +108,9 @@
 		# we have to work in runtime directory
 		cd "${RUNTIMEDIR}"
 		# boinc does not return 1 when it fails currently
-		"${BOINCBIN}" --chuid "${USER}:${GROUP}" --attach_project "${url}" "${key}" &> /dev/null
+		"${BOINCBIN}" --attach_project "${url}" "${key}" &> /dev/null
+		# change the perms for the files to defined user/group
+		chown -R ${USER}:${GROUP} *
 	eend $?
 
 	sleep 10






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-11-10 21:42 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-11-10 21:42 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/11/10 21:42:49

  Modified:             boinc.init
  Log:
  Update initscript to fix bug #289853.
  (Portage version: 2.2_rc48/cvs/Linux x86_64)

Revision  Changes    Path
1.18                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.17&r2=1.18

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- boinc.init	2 Sep 2009 21:22:20 -0000	1.17
+++ boinc.init	10 Nov 2009 21:42:49 -0000	1.18
@@ -100,9 +100,9 @@
 	printf "    Enter your Account Key: "
 	read key
 
-	RC_QUIET_STDOUT="yes" svc_status
+	RC_QUIET_STDOUT="yes" status
 	if [ $? = 1 ]; then
-		svc_start
+		start
 	fi
 	ebegin "Attaching to project"
 		# we have to work in runtime directory
@@ -125,6 +125,7 @@
 }
 
 restart() {
-	svc_stop
-	svc_start
+	stop
+	sleep 3
+	start
 }






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2009-11-22 13:38 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2009-11-22 13:38 UTC (permalink / raw
  To: gentoo-commits

scarabeus    09/11/22 13:38:27

  Modified:             boinc.init
  Log:
  Update script attach function to work correcty.
  (Portage version: 2.2_rc51/cvs/Linux x86_64)

Revision  Changes    Path
1.19                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.18&r2=1.19

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- boinc.init	10 Nov 2009 21:42:49 -0000	1.18
+++ boinc.init	22 Nov 2009 13:38:27 -0000	1.19
@@ -56,22 +56,21 @@
 		ewarn "network is needed only for jobs fetching afterwards"
 	fi
 
-	generate_logs
-
 	if [ "${ALLOW_REMOTE_RPC}" = "yes" ]; then
 		ARGS="${ARGS} -allow_remote_gui_rpc"
 	fi
 
-	# sys-apps/util-linux
-	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
-
-	# check for baselayout version
 	if [ -n "${RC_UNAME}" ]; then
 		PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}"
 	else
 		PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1 &"
 	fi
 
+	generate_logs
+
+	# sys-apps/util-linux
+	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
+
 	eval ${CHRT} start-stop-daemon \
 		--quiet --start --chdir "${RUNTIMEDIR}" \
 		--pidfile "${PIDFILE}" \
@@ -95,26 +94,32 @@
 }
 
 attach() {
+	local password args url key
+	local was_started=true
+
 	printf "    Enter the Project URL: "
 	read url
 	printf "    Enter your Account Key: "
 	read key
 
-	RC_QUIET_STDOUT="yes" status
-	if [ $? = 1 ]; then
-		start
+	password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")
+	args="--project_attach ${url} ${key}"
+
+	if ! service_started; then
+		was_started=false
+		"${RC_SERVICE}" start
 	fi
+
 	ebegin "Attaching to project"
-		# we have to work in runtime directory
-		cd "${RUNTIMEDIR}"
-		# boinc does not return 1 when it fails currently
-		"${BOINCBIN}" --attach_project "${url}" "${key}" &> /dev/null
-		# change the perms for the files to defined user/group
-		chown -R ${USER}:${GROUP} *
+		boinccmd --host localhost --passwd ${password} ${args}
 	eend $?
 
+	unset password args url key
+
 	sleep 10
 	tail "${LOGFILE}"
+
+	[[ ${was_started} = "false" ]] && "${RC_SERVICE}" stop
 }
 
 stop() {






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2010-07-09 16:49 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2010-07-09 16:49 UTC (permalink / raw
  To: gentoo-commits

scarabeus    10/07/09 16:49:01

  Modified:             boinc.init
  Log:
  Version bump. Drop older. Fix bugs #323635 #309439 #314155.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.20                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.19&r2=1.20

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- boinc.init	22 Nov 2009 13:38:27 -0000	1.19
+++ boinc.init	9 Jul 2010 16:49:01 -0000	1.20
@@ -57,27 +57,32 @@
 	fi
 
 	if [ "${ALLOW_REMOTE_RPC}" = "yes" ]; then
-		ARGS="${ARGS} -allow_remote_gui_rpc"
+		ARGS="${ARGS} --allow_remote_gui_rpc"
 	fi
 
 	if [ -n "${RC_UNAME}" ]; then
-		PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}"
+		PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' ${ARGS}"
 	else
-		PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1 &"
+		PARAMS="${ARGS} >> '${LOGFILE}' 2>&1"
 	fi
 
 	generate_logs
 
-	# sys-apps/util-linux
-	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
+	# sys-apps/util-linux (setup scheduling policy if specified, otherwise blank out
+    if [ "${SCHED_PARAM}" = "" ]; then
+        CHRT=""
+    else
+    	CHRT="/usr/bin/chrt ${SCHED_PARAM}"
+    fi
 
 	eval ${CHRT} start-stop-daemon \
-		--quiet --start --chdir "${RUNTIMEDIR}" \
-		--pidfile "${PIDFILE}" \
+		--start --quiet --chdir "${RUNTIMEDIR}" \
+        --background \
 		--make-pidfile \
-		--exec "${BOINCBIN}" --chuid "${USER}:${GROUP}" \
+		--pidfile "${PIDFILE}" \
+        --chuid "${USER}:${GROUP}" \
 		--nicelevel "${NICELEVEL}" \
-		${PARAMS}
+		--exec "${BOINCBIN}" -- ${PARAMS}
 
 	RESULT=$?
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2010-07-15 21:28 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2010-07-15 21:28 UTC (permalink / raw
  To: gentoo-commits

scarabeus    10/07/15 21:28:31

  Modified:             boinc.init
  Log:
  Attempt to fix the initsystem. Blind commit as i dont have my hands on my desktop for at least 14 days.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.21                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.20&r2=1.21

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- boinc.init	9 Jul 2010 16:49:01 -0000	1.20
+++ boinc.init	15 Jul 2010 21:28:31 -0000	1.21
@@ -61,9 +61,9 @@
 	fi
 
 	if [ -n "${RC_UNAME}" ]; then
-		PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' ${ARGS}"
+		PARAMS="--background --stdout '${LOGFILE}' --stderr '${LOGFILE}' -- ${ARGS}"
 	else
-		PARAMS="${ARGS} >> '${LOGFILE}' 2>&1"
+		PARAMS="-- ${ARGS} >> '${LOGFILE}' 2>&1"
 	fi
 
 	generate_logs
@@ -77,12 +77,11 @@
 
 	eval ${CHRT} start-stop-daemon \
 		--start --quiet --chdir "${RUNTIMEDIR}" \
-        --background \
 		--make-pidfile \
 		--pidfile "${PIDFILE}" \
         --chuid "${USER}:${GROUP}" \
 		--nicelevel "${NICELEVEL}" \
-		--exec "${BOINCBIN}" -- ${PARAMS}
+		--exec "${BOINCBIN}" ${PARAMS}
 
 	RESULT=$?
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2010-07-19 20:34 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2010-07-19 20:34 UTC (permalink / raw
  To: gentoo-commits

scarabeus    10/07/19 20:34:46

  Modified:             boinc.init
  Log:
  Whitespace.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.22                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.21&r2=1.22

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- boinc.init	15 Jul 2010 21:28:31 -0000	1.21
+++ boinc.init	19 Jul 2010 20:34:46 -0000	1.22
@@ -79,7 +79,7 @@
 		--start --quiet --chdir "${RUNTIMEDIR}" \
 		--make-pidfile \
 		--pidfile "${PIDFILE}" \
-        --chuid "${USER}:${GROUP}" \
+		--chuid "${USER}:${GROUP}" \
 		--nicelevel "${NICELEVEL}" \
 		--exec "${BOINCBIN}" ${PARAMS}
 






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2011-05-22  9:26 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-05-22  9:26 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/05/22 09:26:15

  Modified:             boinc.init
  Log:
  Fix blank pw issue. Per bug #367615.
  
  (Portage version: 2.2.0_alpha34/cvs/Linux x86_64)

Revision  Changes    Path
1.25                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.24&r2=1.25

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- boinc.init	21 May 2011 19:34:02 -0000	1.24
+++ boinc.init	22 May 2011 09:26:15 -0000	1.25
@@ -99,7 +99,7 @@
 	fi
 
 	ebegin "Attaching to project"
-		boinccmd --host localhost --passwd ${password} ${args}
+		boinccmd --host localhost --passwd "${password}" ${args}
 	eend $?
 
 	unset password args url key






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2011-05-23 19:47 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-05-23 19:47 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/05/23 19:47:46

  Modified:             boinc.init
  Log:
  Fix quoting in attach and stop.
  
  (Portage version: 2.2.0_alpha35/cvs/Linux x86_64)

Revision  Changes    Path
1.27                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.26&r2=1.27

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- boinc.init	23 May 2011 13:00:28 -0000	1.26
+++ boinc.init	23 May 2011 19:47:46 -0000	1.27
@@ -81,7 +81,7 @@
 	password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")
 
 	ebegin "${SVCNAME}: Attaching to project"
-	su -m ${USER} -c "boinccmd --passwd "${password}" --project_attach ${url} ${key}"
+	su -m ${USER} -c "boinccmd --passwd \"${password}\" --project_attach ${url} ${key}"
 	eend $?
 
 	unset password url key
@@ -96,7 +96,7 @@
 	password=$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")
 
 	ebegin "Stopping ${SVCNAME}"
-	su -m ${USER} -c "boinccmd --passwd "${password}" --quit"
+	su -m ${USER} -c "boinccmd --passwd \"${password}\" --quit"
 	eend $?
 
 	unset password






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2011-09-08 15:56 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 19+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-09-08 15:56 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/09/08 15:56:25

  Modified:             boinc.init
  Log:
  Use extra_commands instead of opts. Per bug #382281.
  
  (Portage version: 2.2.0_alpha54/cvs/Linux x86_64)

Revision  Changes    Path
1.28                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.27&r2=1.28

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- boinc.init	23 May 2011 19:47:46 -0000	1.27
+++ boinc.init	8 Sep 2011 15:56:24 -0000	1.28
@@ -1,6 +1,6 @@
 #!/sbin/runscript
 
-opts="${opts} attach"
+extra_commands="${opts} attach"
 
 depend() {
 	# we can use dns and net, but we can also in most cases live without them






^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
@ 2011-10-23 18:55 Lars Wendler (polynomial-c)
  0 siblings, 0 replies; 19+ messages in thread
From: Lars Wendler (polynomial-c) @ 2011-10-23 18:55 UTC (permalink / raw
  To: gentoo-commits

polynomial-c    11/10/23 18:55:54

  Modified:             boinc.init
  Log:
  Fixed remaining issues with opts variable deprecation in init script (bug #382281)
  
  (Portage version: 2.2.0_alpha70/cvs/Linux x86_64)

Revision  Changes    Path
1.29                 sci-misc/boinc/files/boinc.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.28&r2=1.29

Index: boinc.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- boinc.init	8 Sep 2011 15:56:24 -0000	1.28
+++ boinc.init	23 Oct 2011 18:55:54 -0000	1.29
@@ -1,6 +1,6 @@
 #!/sbin/runscript
 
-extra_commands="${opts} attach"
+extra_started_commands="attach"
 
 depend() {
 	# we can use dns and net, but we can also in most cases live without them






^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-10-23 18:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-08  9:00 [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init Tomas Chvatal (scarabeus)
  -- strict thread matches above, loose matches on Subject: below --
2011-10-23 18:55 Lars Wendler (polynomial-c)
2011-09-08 15:56 Tomas Chvatal (scarabeus)
2011-05-23 19:47 Tomas Chvatal (scarabeus)
2011-05-22  9:26 Tomas Chvatal (scarabeus)
2010-07-19 20:34 Tomas Chvatal (scarabeus)
2010-07-15 21:28 Tomas Chvatal (scarabeus)
2010-07-09 16:49 Tomas Chvatal (scarabeus)
2009-11-22 13:38 Tomas Chvatal (scarabeus)
2009-11-10 21:42 Tomas Chvatal (scarabeus)
2009-09-02 21:22 Tomas Chvatal (scarabeus)
2009-07-24 10:58 Tomas Chvatal (scarabeus)
2009-05-29 16:42 Tomas Chvatal (scarabeus)
2009-04-23 16:13 Tomas Chvatal (scarabeus)
2009-04-23 16:00 Tomas Chvatal (scarabeus)
2009-03-11 20:48 Tomas Chvatal (scarabeus)
2009-02-03 14:58 Tomas Chvatal (scarabeus)
2009-02-01 23:06 Tomas Chvatal (scarabeus)
2009-02-01 14:33 Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox