lilalo

diff lm-install @ 127:a92b17c77b57

upload_dir added
author igor@chub.in
date Fri Jul 04 17:44:19 2008 +0300 (2008-07-04)
parents aa788e638a9d
children
line diff
     1.1 --- a/lm-install	Tue Nov 22 22:45:45 2005 +0200
     1.2 +++ b/lm-install	Fri Jul 04 17:44:19 2008 +0300
     1.3 @@ -35,14 +35,14 @@
     1.4  install_to_profile()
     1.5  {
     1.6  	profile=$1
     1.7 -	cat $profile \
     1.8 -		| sed '/LabMaker:START/,/LabMaker:END/ d' \
     1.9 -		> $temp_file
    1.10 -	cat <<'LM_bash_profile' >> $temp_file
    1.11 +	cat <<'LM_bash_profile' > $temp_file
    1.12  # LabMaker:START
    1.13  /usr/local/bin/l3-agent
    1.14  # LabMaker:END
    1.15  LM_bash_profile
    1.16 +	cat $profile \
    1.17 +		| sed '/LabMaker:START/,/LabMaker:END/ d' \
    1.18 +		>> $temp_file
    1.19  	cat $temp_file > $profile
    1.20  	rm $temp_file
    1.21  }
    1.22 @@ -100,6 +100,7 @@
    1.23  <local_session_id>$session_id</local_session_id>
    1.24  <hostname>$hostname</hostname>
    1.25  <user>$USER</user>
    1.26 +<uid>$UID</uid>
    1.27  <login_from>$login_from</login_from>
    1.28  <tty>$tty</tty>
    1.29  <system>$system</system>