Initial import.
authorfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 May 2005 21:28:14 +0000 (21:28 +0000)
committerfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 May 2005 21:28:14 +0000 (21:28 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@251 959494ce-11ee-0310-bf91-de5d638817bd

admin/icmpdnd-gentoo [new file with mode: 0755]

diff --git a/admin/icmpdnd-gentoo b/admin/icmpdnd-gentoo
new file mode 100755 (executable)
index 0000000..26210f0
--- /dev/null
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+
+opts="start stop restart"
+
+depend() {
+    need net
+}
+
+start() {
+    ebegin "Starting icmpdnd"
+    start-stop-daemon --start --quiet --exec /usr/sbin/icmpdnd
+    eend $?
+}
+
+stop() {
+    ebegin "Stopping icmpdnd"
+    start-stop-daemon --stop --quiet --exec /usr/sbin/icmpdnd
+    eend $?
+}