#!/bin/sh export ETH32_DIR=`pwd` export ETH32_ET="/usr/local/games/enemy-territory" export LD_PRELOAD="$ETH32_DIR/libeth32nix.so" export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. cd $ETH32_ET exec ./et.x86 +set com_zonemegs 128 +set net_port $(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ") "$@" unset LD_PRELOAD