1 #!/bin/sh
2
3 hostname=`hostname`
###me -a | egrep -qi '(freebsd|darwin)' || hostname=`hostname -f`
7 #
8 # Set this variables before installation:####################################
9
l3agent and l3script
10 lilalo_user=13-10-2014
13 lilalo_context="/users/${lilalo_user}/${lab}/${hostname}"
11 lab=NT-LNet
14
###tall_l3bashrc_for_this_users=${users:-"root user"} # users who will use
15 #
17
16 #############################################################################
18
19 lilalo_rc=.l3rc
20 lilalo_home=.lilalo
21 url_lilalo="http://xgu.ru/lilalo"
22 url_l3bashrc="${url_lilalo}"/l3bashrc
23 url_l3agent="${url_lilalo}"/l3-agent
24 url_l3config_pm="${url_lilalo}"/l3config.pm
25 url_l3config="${url_lilalo}"/l3-config
26 url_l3prompt="${url_lilalo}"/l3prompt
27 url_perl_modules=${url_lilalo}/
28 perl_modules="Term-VT102 Text-Iconv"
29
30 apt_get_install_this="perl make libmodule-build-perl libc6-dev gcc"
31
32 wget=wget
33 uname -a | egrep -qi '(bsd|darwin)' && wget=fetch
34
35 normC='\033[0;39m'
36 whiteC='\033[1;37m'
"install" 185L, 5268C записано