#!/bin/bash unset LD_ADDITIONAL_PATH [ -z "$LC_ALL" ] && export LC_ALL=en_US.utf8 [ -r /usr/lib/Acronis/system_libs/8.2.1/config ] && . /usr/lib/Acronis/system_libs/8.2.1/config [ -r /usr/lib/Acronis/system_libs/config ] && . /usr/lib/Acronis/system_libs/config prepare_script=/usr/lib/Acronis/PyShell/python_prepare.sh [ -r $prepare_script ] && . $prepare_script IFS="" ulimit -s 2048 ulimit -n 1024 PUB_NAME="`basename $0`" if [ ! -z "$USE_SYSTEM_RUNTIME" ]; then LD_LIBRARY_PATH=/usr/lib/Acronis/BackupAndRecovery/Common else LD_LIBRARY_PATH=/usr/lib/Acronis/system_libs/8.2.1:/usr/lib/Acronis/BackupAndRecovery/Common fi if [ ! -z "$LD_ADDITIONAL_PATH" ]; then LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LD_ADDITIONAL_PATH fi export LD_LIBRARY_PATH exec $WRAPPER /usr/lib/Acronis/PyShell/python "$@"