Implement 40250 classic client port
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
server_root=${MT40250_ROOT:-/usr/metin2}
|
||||
runtime="$server_root/server"
|
||||
if [ "$(uname -s)" != "FreeBSD" ]; then
|
||||
echo "prepare_runtime.sh: runtime binaries are FreeBSD-only" >&2
|
||||
exit 2
|
||||
fi
|
||||
if [ ! -x "$runtime/install.sh" ]; then
|
||||
echo "prepare_runtime.sh: missing $runtime/install.sh" >&2
|
||||
exit 2
|
||||
fi
|
||||
|
||||
cd "$runtime"
|
||||
sh ./install.sh
|
||||
echo "40250 runtime links and log/core directories ready under $runtime"
|
||||
Reference in New Issue
Block a user