diff options
Diffstat (limited to 'net-analyzer/neti/files')
-rw-r--r-- | net-analyzer/neti/files/neti-init2 | 19 |
1 files changed, 19 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..556660cae489 --- /dev/null +++ b/net-analyzer/neti/files/neti-init2 @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 $? +} |