sci-misc/boinc: Upgraded init script
authorSven Eden <yamakuzure@gmx.net>
Fri, 29 Apr 2016 08:52:09 +0000 (10:52 +0200)
committerDavid Seifert <soap@gentoo.org>
Wed, 4 May 2016 22:00:03 +0000 (00:00 +0200)
commit77700d6221afc3a293241b8547a9904be2bd434b
treef8a524cb823263431e04ab7995404feb7a1bd041
parent7c683220facc3387d27c33ba6b2dc816ef3f592c
sci-misc/boinc: Upgraded init script

Gentoo-Bug: 574260

After hot-fixing bug 574260, the following fixes/additions, suggested
by Jan Chren were made:

- #!/sbin/runscript -> #!/sbin/openrc-run
- Variables from /etc/conf.d/boinc are checked, and empty variables
  are pre-filled with sane defaults.
- split start() to start_pre() and start()
- removed check_baselayout()
- replaced /etc/init.d/boinc with ${RC_SERVICE}
- replaced echo with einfo ""
- replaced ${SVCNAME} with ${RC_SVCNAME}
- removed unset for local vars

Package-Manager: portage-2.2.28
sci-misc/boinc/Manifest
sci-misc/boinc/files/boinc.init