blob: c03e4f2bafee74b8d2b061ab472477508798d440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
LIBDIR=/samba/cvs/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
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
fi
export LD_PRELOAD=$LIBDIR/smbwrapper.so
export PWD
export PS1='smbsh$ '
bash
|