60dfe22e5c438ace1fb448ccd73a231bc8ece674
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / src / etc / profile
1 # vi: ts=4 noexpandtab syntax=sh
2
3 export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
4
5 ENV=$HOME/.shrc; export ENV
6
7 # If running interactively, then:
8 if [ "$PS1" ]; then
9         if [ "`id -u`" -eq 0 ]; then
10                 export PS1='# '
11         else
12                 export PS1='$ '
13         fi
14         export USER=`id -un`
15         export LOGNAME=$USER
16         export HOSTNAME=`/bin/hostname`
17         export EDITOR='/bin/vi'
18 fi;