diff options
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/boinc/boinc-7.2.44-r4.ebuild (renamed from sci-misc/boinc/boinc-7.2.44-r3.ebuild) | 0 | ||||
-rw-r--r-- | sci-misc/boinc/boinc-7.4.52-r4.ebuild (renamed from sci-misc/boinc/boinc-7.4.52-r3.ebuild) | 0 | ||||
-rw-r--r-- | sci-misc/boinc/boinc-7.6.33-r4.ebuild (renamed from sci-misc/boinc/boinc-7.6.33-r3.ebuild) | 0 | ||||
-rw-r--r-- | sci-misc/boinc/files/boinc.init | 20 |
4 files changed, 12 insertions, 8 deletions
diff --git a/sci-misc/boinc/boinc-7.2.44-r3.ebuild b/sci-misc/boinc/boinc-7.2.44-r4.ebuild index 7a1902920496..7a1902920496 100644 --- a/sci-misc/boinc/boinc-7.2.44-r3.ebuild +++ b/sci-misc/boinc/boinc-7.2.44-r4.ebuild diff --git a/sci-misc/boinc/boinc-7.4.52-r3.ebuild b/sci-misc/boinc/boinc-7.4.52-r4.ebuild index d33072c9535e..d33072c9535e 100644 --- a/sci-misc/boinc/boinc-7.4.52-r3.ebuild +++ b/sci-misc/boinc/boinc-7.4.52-r4.ebuild diff --git a/sci-misc/boinc/boinc-7.6.33-r3.ebuild b/sci-misc/boinc/boinc-7.6.33-r4.ebuild index d33072c9535e..d33072c9535e 100644 --- a/sci-misc/boinc/boinc-7.6.33-r3.ebuild +++ b/sci-misc/boinc/boinc-7.6.33-r4.ebuild diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init index ceeeac87145e..23450a6857cc 100644 --- a/sci-misc/boinc/files/boinc.init +++ b/sci-misc/boinc/files/boinc.init @@ -184,15 +184,17 @@ resume() { env_check || return 1 local password="" - local master_urls=( \ - $("${BOINCCMD}" --get_project_status | \ - sed -n 's/\s*master URL: //p') \ - ) if need_passwd_arg; then password="--passwd \"$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")\"" fi + local master_urls=( \ + $(cd "${RUNTIMEDIR}" ; \ + "${BOINCCMD}" ${password} --get_project_status | \ + sed -n 's/\s*master URL: //p') \ + ) + for url in "${master_urls[@]}"; do ebegin "Resuming $url" start-stop-daemon --user "${USER}:${GROUP}" --quiet \ @@ -207,15 +209,17 @@ suspend() { env_check || return 1 local password="" - local master_urls=( \ - $("${BOINCCMD}" --get_project_status | \ - sed -n 's/\s*master URL: //p') \ - ) if need_passwd_arg; then password="--passwd \"$(cat "${RUNTIMEDIR}/gui_rpc_auth.cfg")\"" fi + local master_urls=( \ + $(cd "${RUNTIMEDIR}" ; \ + "${BOINCCMD}" ${password} --get_project_status | \ + sed -n 's/\s*master URL: //p') \ + ) + for url in "${master_urls[@]}"; do ebegin "Suspending $url" start-stop-daemon --user "${USER}:${GROUP}" --quiet \ |