diff options
Diffstat (limited to 'net-analyzer/neti/files')
-rw-r--r-- | net-analyzer/neti/files/neti-init2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-analyzer/neti/files/neti-init2 b/net-analyzer/neti/files/neti-init2 new file mode 100644 index 000000000000..be967841b6f7 --- /dev/null +++ b/net-analyzer/neti/files/neti-init2 @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting netiathome" + start-stop-daemon --start --quiet --exec /usr/sbin/neti -- -D + eend $? +} + +stop() { + ebegin "Stopping netiathome" + start-stop-daemon --stop --quiet --exec /usr/sbin/neti + eend $? +} |