blob: 42bde1205d61829dfb23d490c22b907480d0a53b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
#
# This starup script will set the correct library path
# and then startup the teamspeak binary.
#
TSHOME=%%TSHOME%%
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH=$TSHOME
else
export LD_LIBRARY_PATH=$TSHOME:$LD_LIBRARY_PATH
fi
if [ -r $TSHOME/setduplexfake.so ]; then
if [ -z "$LD_PRELOAD" ]; then
export LD_PRELOAD=$TSHOME/setduplexfake.so
else
export LD_PRELOAD=$TSHOME/setduplexfake.so:$LD_PRELOAD
fi
fi
$TSHOME/TeamSpeak.bin "$@"
|