2 ############################################################################
4 # This file is part of the IPFire Firewall. #
6 # IPFire is free software; you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation; either version 2 of the License, or #
9 # (at your option) any later version. #
11 # IPFire is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with IPFire; if not, write to the Free Software #
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
20 # Copyright (C) 2008 IPFire-Team <info@ipfire.org>. #
22 ############################################################################
24 .
/opt
/pakfire
/lib
/functions.sh
28 [ -d /opt
/teamspeak
] || mkdir
-p /opt
/teamspeak
31 wget
-c ftp://ftp.freenet.de
/pub
/4players
/teamspeak.org
/releases
/ts2_server_rc2_202319.
tar.bz2 \
32 ftp://ftp.freenet.de
/pub
/4players
/teamspeak.org
/developer
/server
/202401/server_linux
34 tar xvfj ts2_server_rc2_202319.
tar.bz2
-C /tmp
36 cp -av /tmp
/tss2_rc
2/* /opt
/teamspeak
37 mv /tmp
/server_linux
/opt
/teamspeak
/server_linux
38 chmod 755 -v /opt
/teamspeak
/server_linux
40 rm -rf /tmp
/tss2_rc2 ts2_server_rc2_202319.
tar.bz2
43 useradd
-g teamspeak teamspeak
45 chown teamspeak.teamspeak
/opt
/teamspeak
-Rv
47 restore_backup
${NAME}
48 start_service
--background ${NAME}
50 ln -sf ..
/init.d
/teamspeak
/etc
/rc.d
/rc0.d
/K00teamspeak
51 ln -sf ..
/init.d
/teamspeak
/etc
/rc.d
/rc3.d
/S99teamspeak
52 ln -sf ..
/init.d
/teamspeak
/etc
/rc.d
/rc6.d
/K00teamspeak