#
# Never run any DBA or SA under for sybase as root
#

if (`id -u` == 0) then
    echo "This account should not be ran with uid = 0"
    exit 1
endif

# Make sure to have SYBASE set for the correct location
#setenv SYBASE	`pwd`
setenv SYBASE	`rpm -q --queryformat '%{installprefix}' sybase-common`

setenv SYBPLATFORM	linux
setenv LD_LIBRARY_PATH	$SYBASE/lib
setenv LC_ALL		default

set path = ($SYBASE/bin $path .)

unsetenv LANG

# 1st time notice
sh $SYBASE/.profile
