3 SMBW_LIBDIR=${SMBW_LIBDIR-@builddir@/smbwrapper}
5 if [ ! -f ${SMBW_LIBDIR}/smbwrapper.so ]; then
6 echo You need to set LIBDIR in smbsh
10 # a simple launcher for the smbwrapper.so preloadde library
12 if [ x"${SMBW_USER+set}" != x"set" ]; then
19 # this doesn't hide the password - we need a proper launch app for that
20 if [ x"${SMBW_PASSWORD+set}" != x"set" ]; then
37 _RLDN32_LIST=$SMBW_LIBDIR/smbwrapper.so:DEFAULT
38 _RLD_LIST=$SMBW_LIBDIR/smbwrapper.32.so:DEFAULT
43 _RLD_LIST=$SMBW_LIBDIR/smbwrapper.so:DEFAULT
47 LD_PRELOAD=$SMBW_LIBDIR/smbwrapper.so
52 echo starting smbwrapper on $host_os
54 exec ${SMBW_SHELL-${SHELL-/bin/sh}} ${1+"$@"}