Create portage overlay tree.
[icmp-dn.git] / admin / portage / net-misc / icmpdn / files / icmpdnd.init
diff --git a/admin/portage/net-misc/icmpdn/files/icmpdnd.init b/admin/portage/net-misc/icmpdn/files/icmpdnd.init
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 $?
+}