added netvault init wrapper

git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@12983 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
Torsten Kurbad 2010-04-09 14:17:00 +00:00
parent c69a6b6af7
commit dedcf2dd3a
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,2 @@
AUX netvault.initd 250 RMD160 d49c5c98e9167f2acbdef40eaee9d25b9c776f8b SHA1 d52d972bacc7a43fd308adb50adeec6b9804f908 SHA256 54f2cc170eb2b2d862849c511422baa0a1ee0b719c040b2e0e8c1fdc49fda28e
EBUILD netvault-initscripts-0.0.1.ebuild 271 RMD160 725fc874d89a0ffcdea96102b9a8330a996ec1f9 SHA1 bf71c1c26bc6adfded102d1e1ccc2cd494d35820 SHA256 69e2db993361a6ff8cc28db81be5c3596ce6048f98808f374316ffff45e210a5

View File

@ -0,0 +1,18 @@
#!/sbin/runscript
depend() {
need localmount net
use logger
}
start() {
ebegin "Starting NetVault Backup Agent"
/etc/init.d/netvault start
eend $?
}
stop() {
ebegin "Shutting down NetVault Backup Agent"
/etc/init.d/netvault stop
eend $?
}

View File

@ -0,0 +1,16 @@
EAPI="2"
inherit eutils
DESCRIPTION="SysV init script wrapper for netvault"
HOMEPAGE="http://www.bakbone.com"
SRC_URI=""
RESTRICT="nomirror"
LICENSE="GPL-3"
IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_install() {
newinitd "${FILESDIR}/netvault.initd" netvault-init
}