summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbsh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/smbsh')
-rwxr-xr-xsource3/smbwrapper/smbsh14
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/smbwrapper/smbsh b/source3/smbwrapper/smbsh
index c03e4f2baf..015db52d95 100755
--- a/source3/smbwrapper/smbsh
+++ b/source3/smbwrapper/smbsh
@@ -1,24 +1,28 @@
#!/bin/sh
-LIBDIR=/samba/cvs/source/smbwrapper
+LIBDIR=/home/tridge/samba/source/smbwrapper
# a simple launcher for the smbwrapper.so preloadde library
if [ x$SMBW_USER = x ]; then
echo username?
read user
- export SMBW_USER=$user
+ SMBW_USER=$user
+ export SMBW_USER
fi
# this doesn't hide the password - we need a proper launch app for that
if [ x$SMBW_PASSWORD = x ]; then
echo password?
read pass
- export SMBW_PASSWORD=$pass
+ SMBW_PASSWORD=$pass
+ export
fi
-export LD_PRELOAD=$LIBDIR/smbwrapper.so
+LD_PRELOAD=$LIBDIR/smbwrapper.so
+export LD_PRELOAD
export PWD
-export PS1='smbsh$ '
+PS1='smbsh$ '
+export PS1
bash