ssfs rev 41

ssfs-sh: donr clear screen
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 12 15:57:53 2011 +0200 (2011-06-12)
parents 8103aeb76954
children 007200b945e3
files ssfs-sh
line diff
     1.1 --- a/ssfs-sh	Sun Jun 12 15:12:48 2011 +0200
     1.2 +++ b/ssfs-sh	Sun Jun 12 15:57:53 2011 +0200
     1.3 @@ -12,9 +12,10 @@
     1.4  if [ -f /etc/ssfs/ssfs-server.conf ]; then
     1.5  	. /etc/ssfs/ssfs-server.conf
     1.6  	root=$SSFS_CHROOT
     1.7 +	TERM=xterm
     1.8  	# Make sure it's a valid Ssfs user.
     1.9  	[ -d "$root/home/$USER" ] || exit 0
    1.10 -	clear && exec chroot $root /bin/ssfs-sh
    1.11 +	exec chroot $root /bin/ssfs-sh $@
    1.12  else
    1.13  	# Chroot will drop user into /, so set new HOME and cd. Set also
    1.14  	# some env variables but don't source any profile.