mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 02:12:58 +02:00
teamspeak: Remove package
This is an old version any way and just used to download the pre-compiled data from the servers of the vendor.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
########################################################################
|
||||
# Begin $rc_base/init.d/teamspeak
|
||||
#
|
||||
# Description : Start/Stops the teamspeak server
|
||||
#
|
||||
# Authors : Michael Tremer
|
||||
#
|
||||
# Version : 01.00
|
||||
#
|
||||
# Notes :
|
||||
#
|
||||
########################################################################
|
||||
|
||||
. /etc/sysconfig/rc
|
||||
. $rc_functions
|
||||
|
||||
case "$1" in
|
||||
status)
|
||||
statusproc /opt/teamspeak/server_linux
|
||||
;;
|
||||
*)
|
||||
export LANG=en_US.utf8
|
||||
cd /opt/teamspeak && sudo -u teamspeak ./teamspeak2-server_startscript $*
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
# End $rc_base/init.d/teamspeak
|
||||
@@ -1,54 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2008 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
extract_files
|
||||
|
||||
[ -d /opt/teamspeak ] || mkdir -p /opt/teamspeak
|
||||
|
||||
cd /tmp
|
||||
wget -c ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_rc2_202319.tar.bz2 \
|
||||
ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202401/server_linux
|
||||
|
||||
tar xvfj ts2_server_rc2_202319.tar.bz2 -C /tmp
|
||||
|
||||
cp -av /tmp/tss2_rc2/* /opt/teamspeak
|
||||
mv /tmp/server_linux /opt/teamspeak/server_linux
|
||||
chmod 755 -v /opt/teamspeak/server_linux
|
||||
|
||||
rm -rf /tmp/tss2_rc2 ts2_server_rc2_202319.tar.bz2
|
||||
|
||||
groupadd teamspeak
|
||||
useradd -g teamspeak teamspeak
|
||||
|
||||
chown teamspeak.teamspeak /opt/teamspeak -Rv
|
||||
|
||||
restore_backup ${NAME}
|
||||
start_service --background ${NAME}
|
||||
|
||||
ln -sf ../init.d/teamspeak /etc/rc.d/rc0.d/K00teamspeak
|
||||
ln -sf ../init.d/teamspeak /etc/rc.d/rc3.d/S99teamspeak
|
||||
ln -sf ../init.d/teamspeak /etc/rc.d/rc6.d/K00teamspeak
|
||||
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
stop_service ${NAME}
|
||||
|
||||
if [ ! -e "/var/ipfire/backup/addons/includes/teamspeak" ]; then
|
||||
echo /opt/teamspeak/bad_names.txt > /var/ipfire/backup/addons/includes/teamspeak
|
||||
echo /opt/teamspeak/server.dbs >> /var/ipfire/backup/addons/includes/teamspeak
|
||||
echo /opt/teamspeak/server.ini >> /var/ipfire/backup/addons/includes/teamspeak
|
||||
echo /opt/teamspeak/server.log >> /var/ipfire/backup/addons/includes/teamspeak
|
||||
echo /opt/teamspeak/whitelist.txt >> /var/ipfire/backup/addons/includes/teamspeak
|
||||
fi
|
||||
make_backup ${NAME}
|
||||
rm -rf /opt/teamspeak
|
||||
userdel teamspeak
|
||||
rm -rf /etc/rc.d/rc*.d/*teamspeak
|
||||
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 2 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2007 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
./uninstall.sh
|
||||
./install.sh
|
||||
Reference in New Issue
Block a user