#!/bin/sh [ -e ~/.SecondLife ]||mkdir ~/.SecondLife cd ~/.SecondLife||exit 1 ln -sf /usr/share/secondlife/* . [ -d SecondLife/cache ]||mkdir -p SecondLife/cache [ -d SecondLife/logs ]||mkdir -p SecondLife/logs [ -d SecondLife/user_settings ]||mkdir -p SecondLife/user_settings # HACK: MALLOC_CHECK_=0 is a temporary workaround for some glibc installations. MALLOC_CHECK_=0 \ LD_LIBRARY_PATH=/usr/lib/secondlife \ exec /usr/lib/secondlife/secondlife-bin $@ 2>&1 | tee lastrun.log