summaryrefslogtreecommitdiffstats
path: root/abs/extra/mediaserv/finish
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/mediaserv/finish')
-rw-r--r--abs/extra/mediaserv/finish8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra/mediaserv/finish b/abs/extra/mediaserv/finish
new file mode 100644
index 0000000..f424494
--- /dev/null
+++ b/abs/extra/mediaserv/finish
@@ -0,0 +1,8 @@
+#!/bin/bash
+exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Stopping mediaserv"
+#wait
+exec /usr/bin/killall mediaserv