]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/teamspeak
Fix special character output at setup.
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / teamspeak
1 #!/bin/sh
2 ########################################################################
3 # Begin $rc_base/init.d/teamspeak
4 #
5 # Description : Start/Stops the teamspeak server
6 #
7 # Authors : Michael Tremer
8 #
9 # Version : 01.00
10 #
11 # Notes :
12 #
13 ########################################################################
14
15 . /etc/sysconfig/rc
16 . $rc_functions
17
18 case "$1" in
19 status)
20 statusproc /opt/teamspeak/server_linux
21 ;;
22 *)
23 export LANG=en_US.utf8
24 cd /opt/teamspeak && sudo -u teamspeak ./teamspeak2-server_startscript $*
25 exit 0
26 ;;
27 esac
28 # End $rc_base/init.d/teamspeak