blob: bc4374e6801660021fd4e3bed2669bb96b140b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
start() {
ebegin "Starting kismet"
start-stop-daemon --start --quiet --pidfile /run/kismet.pid \
--background --make-pidfile --exec /usr/bin/kismet \
-1 /var/log/kismet.log -2 /var/log/kismet.log \
-- --no-ncurses ${KISMET_SERVER_OPTIONS}
eend ${?}
}
stop() {
ebegin "Stopping kismet"
start-stop-daemon --stop --quiet --pidfile /run/kismet.pid
eend ${?}
}
|