summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-07-25 14:20:46 -0400
committerRick Farina <zerochaos@gentoo.org>2019-07-25 14:21:03 -0400
commitcd9f57bb69091c6675fcd77730e1fec31cf98b9d (patch)
tree406c65d24456e3c9046e597ae15d7049051af759 /net-wireless
parentapp-emulation/containers-storage: Bump to version 1.12.15 (diff)
downloadgentoo-cd9f57bb69091c6675fcd77730e1fec31cf98b9d.tar.gz
gentoo-cd9f57bb69091c6675fcd77730e1fec31cf98b9d.tar.bz2
gentoo-cd9f57bb69091c6675fcd77730e1fec31cf98b9d.zip
net-wireless/kismet: new init script
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/kismet/files/kismet.initd-r311
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild2
2 files changed, 12 insertions, 1 deletions
diff --git a/net-wireless/kismet/files/kismet.initd-r3 b/net-wireless/kismet/files/kismet.initd-r3
new file mode 100644
index 000000000000..dce3158973f7
--- /dev/null
+++ b/net-wireless/kismet/files/kismet.initd-r3
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="kismet"
+command="/usr/bin/kismet"
+command_args="--no-ncurses ${KISMET_SERVER_OPTIONS}"
+supervisor="supervise-daemon"
+output_log="/var/log/kismet.log"
+error_log="${output_log}"
+pidfile="/run/kismet.pid"
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 77ae6098f3e1..72387056e698 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -104,7 +104,7 @@ src_install() {
#dodoc CHANGELOG RELEASENOTES.txt README* docs/DEVEL.client docs/README.newcore
dodoc CHANGELOG README*
- newinitd "${FILESDIR}"/${PN}.initd-r2 kismet
+ newinitd "${FILESDIR}"/${PN}.initd-r3 kismet
newconfd "${FILESDIR}"/${PN}.confd-r2 kismet
}