diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-10-10 20:09:27 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-10-10 20:09:27 +0000 |
commit | 773abfaa90467eec92f195a0a2180fbad7f85057 (patch) | |
tree | e2377cb14084bffecd19474a3cf59b11509cff4e /net-misc/batman/files/batman-init.d | |
parent | net-p2p/moodriver: Actually, it was bug #149973 (diff) | |
download | sunrise-773abfaa90467eec92f195a0a2180fbad7f85057.tar.gz sunrise-773abfaa90467eec92f195a0a2180fbad7f85057.tar.bz2 sunrise-773abfaa90467eec92f195a0a2180fbad7f85057.zip |
net-misc/batman: New Ebuild for bug 150824
svn path=/sunrise/; revision=1517
Diffstat (limited to 'net-misc/batman/files/batman-init.d')
-rw-r--r-- | net-misc/batman/files/batman-init.d | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/batman/files/batman-init.d b/net-misc/batman/files/batman-init.d new file mode 100644 index 000000000..11c1f6c65 --- /dev/null +++ b/net-misc/batman/files/batman-init.d @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting batman" + start-stop-daemon --start --quiet --background --exec /usr/sbin/batman -- ${BATMAN_OPTIONS} ${BATMAN_INTERFACES} + eend $? +} + +stop() { + ebegin "Stopping batman" + start-stop-daemon --stop --quiet --exec /usr/sbin/batman + eend $? +} |