summaryrefslogtreecommitdiffstats
path: root/openwrt/package/aiccu/files/S51aiccu
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/aiccu/files/S51aiccu')
-rwxr-xr-xopenwrt/package/aiccu/files/S51aiccu21
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/package/aiccu/files/S51aiccu b/openwrt/package/aiccu/files/S51aiccu
new file mode 100755
index 000000000..dabafcf3f
--- /dev/null
+++ b/openwrt/package/aiccu/files/S51aiccu
@@ -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