summaryrefslogtreecommitdiff
path: root/openwrt/package/aiccu/files/aiccu.init
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-19 05:28:28 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-19 05:28:28 +0000
commitee8ff77eabcf4733d4ff63541d928e59bb722bac (patch)
treee3bb966a4f8fdac942239e7b8a734853c18afba5 /openwrt/package/aiccu/files/aiccu.init
parent8235a2e3ce295bc69388b4f22f0b53d6b33c5c8d (diff)
downloadmtk-20170518-ee8ff77eabcf4733d4ff63541d928e59bb722bac.zip
mtk-20170518-ee8ff77eabcf4733d4ff63541d928e59bb722bac.tar.gz
mtk-20170518-ee8ff77eabcf4733d4ff63541d928e59bb722bac.tar.bz2
Tweaked aiccu package, add cvs Id to Makefile, fix aiccu init-script again (need some sleep, I guess)
SVN-Revision: 947
Diffstat (limited to 'openwrt/package/aiccu/files/aiccu.init')
-rw-r--r--openwrt/package/aiccu/files/aiccu.init21
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/package/aiccu/files/aiccu.init b/openwrt/package/aiccu/files/aiccu.init
new file mode 100644
index 0000000..dabafcf
--- /dev/null
+++ b/openwrt/package/aiccu/files/aiccu.init
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ aiccu start
+ ;;
+
+ stop)
+ aiccu stop
+ aiccu stop
+ ;;
+
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac