diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-16 13:16:16 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-16 13:16:16 +0000 |
commit | 84454a96a96b4082ee58b2c214896f418eca678d (patch) | |
tree | 1b3972210e6da25a2a43baf38fb915b4b8a3ed4c /net-wireless/kismet/files | |
parent | Initial import, closes bug #97663 (diff) | |
download | gentoo-2-84454a96a96b4082ee58b2c214896f418eca678d.tar.gz gentoo-2-84454a96a96b4082ee58b2c214896f418eca678d.tar.bz2 gentoo-2-84454a96a96b4082ee58b2c214896f418eca678d.zip |
Version bump. Please note that ethereal wiretap support has been removed in this release.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-wireless/kismet/files')
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2005.08.1 | 1 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2005.08.1-conf.d | 14 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2005.08.1-init.d | 27 |
3 files changed, 42 insertions, 0 deletions
diff --git a/net-wireless/kismet/files/digest-kismet-2005.08.1 b/net-wireless/kismet/files/digest-kismet-2005.08.1 new file mode 100644 index 000000000000..86dedc03e4ae --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2005.08.1 @@ -0,0 +1 @@ +MD5 17edb7688e04dd28028d5268a77d0ce7 kismet-2005-08-R1.tar.gz 986388 diff --git a/net-wireless/kismet/files/kismet-2005.08.1-conf.d b/net-wireless/kismet/files/kismet-2005.08.1-conf.d new file mode 100644 index 000000000000..7752f0f07f76 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2005.08.1-conf.d @@ -0,0 +1,14 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.08.1-conf.d,v 1.1 2005/08/16 13:16:16 brix Exp $ + +# Kismet configuration is done in /etc/kismet.conf + +# To use the kismet init script, you must have "logtemplate" set to a location +# that is writable by the user assigned by "suiduser". +# e.g. +# suiduser=foo +# logtemplate=%h/kismet_log/%n-%d-%i.%l + +# Options to pass to kismet_server, see `kismet_server --help` +KISMET_SERVER_OPTIONS="" diff --git a/net-wireless/kismet/files/kismet-2005.08.1-init.d b/net-wireless/kismet/files/kismet-2005.08.1-init.d new file mode 100644 index 000000000000..d2d43f74263a --- /dev/null +++ b/net-wireless/kismet/files/kismet-2005.08.1-init.d @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.08.1-init.d,v 1.1 2005/08/16 13:16:16 brix Exp $ + +checkconfig() { + if [ ! -e /etc/kismet.conf ]; then + eerror "Configuration file /etc/kismet.conf not found" + return 1 + fi +} + +start() { + checkconfig || return 1 + + ebegin "Starting kismet server" + start-stop-daemon --start --quiet --pidfile /var/run/kismet_server.pid \ + --background --make-pidfile --exec /usr/bin/kismet_server \ + -- ${KISMET_SERVER_OPTIONS} + eend ${?} +} + +stop() { + ebegin "Stopping kismet server" + start-stop-daemon --stop --quiet --pidfile /var/run/kismet_server.pid + eend ${?} +} |