summaryrefslogtreecommitdiff
path: root/package/fonera-mp3/files/mp3d.init
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-09-10 21:19:21 +0000
committerJohn Crispin <john@openwrt.org>2007-09-10 21:19:21 +0000
commit9dc06a4c2e8cd2f41ba28f9b3b6d916c5318ed4b (patch)
treea6cec9187419582cbf5e81114610cbfc98588600 /package/fonera-mp3/files/mp3d.init
parentc4c29e8b689fb09de0d3fcdfac7c8b691aabbc1d (diff)
downloadmtk-20170518-9dc06a4c2e8cd2f41ba28f9b3b6d916c5318ed4b.zip
mtk-20170518-9dc06a4c2e8cd2f41ba28f9b3b6d916c5318ed4b.tar.gz
mtk-20170518-9dc06a4c2e8cd2f41ba28f9b3b6d916c5318ed4b.tar.bz2
added a init.d script to fonera-mp3d
SVN-Revision: 8734
Diffstat (limited to 'package/fonera-mp3/files/mp3d.init')
-rw-r--r--package/fonera-mp3/files/mp3d.init12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/fonera-mp3/files/mp3d.init b/package/fonera-mp3/files/mp3d.init
new file mode 100644
index 0000000..9935a06
--- /dev/null
+++ b/package/fonera-mp3/files/mp3d.init
@@ -0,0 +1,12 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2007 OpenWrt.org
+
+START=90
+
+start() {
+ /usr/bin/mp3d
+}
+
+stop() {
+ killall mp3d
+}