Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26049 Details for
Bug 40120
setiathome didn't run after merging
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
corrected init.d - script.
setiathome (text/plain), 1.23 KB, created by
Mr. P
on 2004-02-21 08:26:10 UTC
(
hide
)
Description:
corrected init.d - script.
Filename:
MIME Type:
Creator:
Mr. P
Created:
2004-02-21 08:26:10 UTC
Size:
1.23 KB
patch
obsolete
>#!/sbin/runscript > >if [ -z "${SETIATHOME_THREADS}" ]; then > SETIATHOME_THREADS=$( egrep -c "^bogomips" /proc/cpuinfo ) >fi > >depend() { > need net >} > >checkconfig() { > if [ ! -e "${SETIATHOME_DIR}" ] ; then > einfo "Creating ${SETIATHOME_DIR}" > mkdir "${SETIATHOME_DIR}" > fi > > if [ ! -e "${SETIATHOME_DIR}/user_info.sah" ] ; then > einfo "Setting up SETI@home for the first time" > cd "${SETIATHOME_DIR}" > ${SETIATHOME_DIR}/setiathome -login ${SETIATHOME_OPTIONS} > fi > > if [ "${SETIATHOME_THREADS}" != '1' ] ; then > cd ${SETIATHOME_DIR} > for thread in `seq 2 "${SETIATHOME_THREADS}"`; do > if [ ! -e "${SETIATHOME_DIR}/thread${thread}" ]; then > mkdir "${SETIATHOME_DIR}/thread${thread}" > cp "${SETIATHOME_DIR}/user_info.sah" "${SETIATHOME_DIR}/thread${thread}" > fi > done > fi >} > >start() { > checkconfig > > if [ "${SETIATHOME_THREADS}" = '1' ] ; then > ebegin "Starting SETI@home" > else > ebegin "Starting SETI@home (${SETIATHOME_THREADS} threads)" > fi > > for thread in `seq 1 "${SETIATHOME_THREADS}"`; do > cd "${SETIATHOME_DIR}" > if [ "${thread}" != '1' ]; then > cd "thread${thread}" > fi > > ${SETIATHOME_DIR}/setiathome ${SETIATHOME_OPTIONS} >& setiathome.log & > done > > eend $? >} > >stop() { > ebegin "Stopping SETI@home" > killall setiathome > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 40120
: 26049 |
29823
|
29824
|
29835
|
29836
|
30443
|
30445