diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-05-19 05:28:28 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-05-19 05:28:28 +0000 |
commit | ad39d60e6bb1ac07542588208e07d90c584ac9e3 (patch) | |
tree | bd07476a0d31e1a1430e7c9ec692a5e9e3e93f93 /package/aiccu/files/aiccu.init | |
parent | f2d9802bb5c092b8d88dd48c39f7f3942a28589e (diff) | |
download | upstream-ad39d60e6bb1ac07542588208e07d90c584ac9e3.tar.gz upstream-ad39d60e6bb1ac07542588208e07d90c584ac9e3.tar.bz2 upstream-ad39d60e6bb1ac07542588208e07d90c584ac9e3.zip |
Tweaked aiccu package, add cvs Id to Makefile, fix aiccu init-script again (need some sleep, I guess)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/aiccu/files/aiccu.init')
-rw-r--r-- | package/aiccu/files/aiccu.init | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/aiccu/files/aiccu.init b/package/aiccu/files/aiccu.init new file mode 100644 index 0000000000..dabafcf3f0 --- /dev/null +++ b/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 |