summaryrefslogtreecommitdiff
path: root/openwrt/package/aiccu/files
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/aiccu/files')
-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 0000000000..dabafcf3f0
--- /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