ssfs rev 56

ssfs-sh: set a minimal PATH variable
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 12 21:05:10 2011 +0200 (2011-06-12)
parents 51160b20e291
children 5d4e3644da14
files ssfs-sh
line diff
     1.1 --- a/ssfs-sh	Sun Jun 12 20:55:51 2011 +0200
     1.2 +++ b/ssfs-sh	Sun Jun 12 21:05:10 2011 +0200
     1.3 @@ -26,10 +26,11 @@
     1.4  	# some env variables but don't source any profile.
     1.5  	echo -e "\n\033[1m  Welcome to the Ssfs SHell $USER\033[0m\n"
     1.6  	PS1='\u@\h\e[0m:\e[1;34m\w\e[0m\$ '
     1.7 +	PATH='/bin:/sbin'
     1.8  	HOME=/home/$USER
     1.9  	SYNC=$HOME/Sync
    1.10  	SHELL=/bin/sh
    1.11 -	export PS1 HOME SYNC SHELL
    1.12 +	export PS1 PATH HOME SYNC SHELL
    1.13  	cd $HOME
    1.14  	exec /bin/sh "$@"
    1.15  fi