lilalo

diff l3scripts @ 86:3058ada85a58

Сортировка командных строк выполняется только по известным временным параметрам.
Добавлена проверка определённости параметров
author devi
date Sat Feb 25 08:31:35 2006 +0200 (2006-02-25)
parents a10db759e587
children 45196265d30e
line diff
     1.1 --- a/l3scripts	Thu Feb 09 18:47:04 2006 +0200
     1.2 +++ b/l3scripts	Sat Feb 25 08:31:35 2006 +0200
     1.3 @@ -3,12 +3,17 @@
     1.4  cat $sshkey | $lmssh $ssh_user@$host /bin/sh -c '"cat >>~/.ssh/authorized_keys; chmod 600 ~/.ssh/authorized_keys"'
     1.5  
     1.6  ###install-lm
     1.7 -cat $lminstall | ssh $ssh_user@$host /bin/sh -s $dirs
     1.8 +#cat $lminstall | ssh $ssh_user@$host /bin/sh -s $dirs
     1.9  scp l3config.pm l3-agent $ssh_user@$host:/usr/local/bin
    1.10 +for i in $dirs
    1.11 +do
    1.12 +    ssh $ssh_user@$host mkdir -p ${i}/.lilalo/
    1.13 +    scp l3bashrc $ssh_user@$host:${i}/.lilalo/
    1.14 +done
    1.15  
    1.16  ###install-pm
    1.17  scp PM/* $ssh_user@$host:/tmp
    1.18 -ssh $ssh_user@$host 'cd /tmp; tar xfz Term-VT102*.gz; cd Term-VT102*[^z]; perl Makefile.PL; make ; make install'
    1.19 +#ssh $ssh_user@$host 'cd /tmp; tar xfz Term-VT102*.gz; cd Term-VT102*[^z]; perl Makefile.PL; make ; make install'
    1.20  ssh $ssh_user@$host 'cd /tmp; tar xfz Text-Iconv*.gz; cd Text-Iconv*[^z]; perl Makefile.PL; make ; make install'
    1.21  
    1.22  ###copy-lablogs