summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/dibbler/files/dibbler-server')
-rw-r--r--net-misc/dibbler/files/dibbler-server20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-misc/dibbler/files/dibbler-server b/net-misc/dibbler/files/dibbler-server
new file mode 100644
index 000000000000..e5a042d812ff
--- /dev/null
+++ b/net-misc/dibbler/files/dibbler-server
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/files/dibbler-server,v 1.1 2005/09/20 07:53:59 gmsoft Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting DHCPv6 server: dibbler-server"
+ /usr/sbin/dibbler-server start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DHCPv6 server: dibbler-server"
+ /usr/sbin/dibbler-server stop
+ eend $?
+}