]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/initscripts/init.d/miau
Skip checkfstab if root is set by UUID.
[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..."
490ecce5 21 chown -R nobody.nobody /opt/miau
0737bb54 22 loadproc sudo -u nobody /opt/miau/bin/miau -d /opt/miau/config > /dev/null
490ecce5 23 evaluate_retval
791b2270
SS
24 ;;
25
26 stop)
27 boot_mesg "Stopping miau - another IRC-bouncer/proxy..."
28 killproc /opt/miau/bin/miau
29 ;;
30
31 restart)
32 ${0} stop
33 sleep 1
34 ${0} start
35 ;;
36
37 status)
38 statusproc /opt/miau/bin/miau
39 ;;
40
41 *)
42 echo "Usage: ${0} {start|stop|restart|status}"
43 exit 1
44 ;;
45esac
46
47# End $rc_base/init.d/miau