]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/initscripts/init.d/miau
Fixed hostapd wlanap.cgi
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / miau
CommitLineData
791b2270
SS
1#!/bin/sh
2########################################################################
3# Begin $rc_base/init.d/miau
4#
5# Description : This is a script that starts miau as deamon
6#
7# Authors : Schantl Stefan (Stevee@ipfire.org)
8#
9# Version : 01.00
10#
11# Notes :
12#
13########################################################################
14
15. /etc/sysconfig/rc
16. ${rc_functions}
17
18case "${1}" in
19 start)
20 boot_mesg "Starting miau - another IRC-bouncer/proxy..."
21 loadproc /opt/miau/bin/miau -d /opt/miau/config
22 ;;
23
24 stop)
25 boot_mesg "Stopping miau - another IRC-bouncer/proxy..."
26 killproc /opt/miau/bin/miau
27 ;;
28
29 restart)
30 ${0} stop
31 sleep 1
32 ${0} start
33 ;;
34
35 status)
36 statusproc /opt/miau/bin/miau
37 ;;
38
39 *)
40 echo "Usage: ${0} {start|stop|restart|status}"
41 exit 1
42 ;;
43esac
44
45# End $rc_base/init.d/miau