|
@@ -98,88 +98,7 @@ fi
|
|
|
source "${rootdir}/functions/${functionfile}"
|
|
source "${rootdir}/functions/${functionfile}"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-fn_unreal2compressmaps(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-#
|
|
|
|
|
-## Installer
|
|
|
|
|
-#
|
|
|
|
|
-
|
|
|
|
|
-fn_ut2k4fix(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_header(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_ut2k4filesdl(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_ut2k4key(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_ut2k4install(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_loginstall(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_getquery(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_retryinstall(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_serverdirectory(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_serverconfig(){
|
|
|
|
|
-functionfile="${FUNCNAME}"
|
|
|
|
|
-fn_runfunction
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-fn_install(){
|
|
|
|
|
-fn_rootcheck
|
|
|
|
|
-fn_header
|
|
|
|
|
-if [ -z "${autoinstall}" ]; then
|
|
|
|
|
- fn_serverdirectory
|
|
|
|
|
- fn_header
|
|
|
|
|
-fi
|
|
|
|
|
-fn_ut2k4filesdl
|
|
|
|
|
-fn_ut2k4install
|
|
|
|
|
-fn_ut2k4key
|
|
|
|
|
-fn_loginstall
|
|
|
|
|
-fn_getquery
|
|
|
|
|
-fn_serverconfig
|
|
|
|
|
-fn_ut2k4fix
|
|
|
|
|
-fn_header
|
|
|
|
|
-fn_details
|
|
|
|
|
-echo "================================="
|
|
|
|
|
-echo "Install Complete!"
|
|
|
|
|
-echo ""
|
|
|
|
|
-echo "To start server type:"
|
|
|
|
|
-echo "${selfname} start"
|
|
|
|
|
-echo ""
|
|
|
|
|
-}
|
|
|
|
|
|
|
+fn_functions
|
|
|
|
|
|
|
|
case "$1" in
|
|
case "$1" in
|
|
|
start)
|
|
start)
|