Fix aiccu init-script
[openwrt/svn-archive/archive.git] / openwrt / package / aiccu / files / aiccu
diff --git a/openwrt/package/aiccu/files/aiccu b/openwrt/package/aiccu/files/aiccu
new file mode 100644 (file)
index 0000000..dabafcf
--- /dev/null
@@ -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