~
~
2
~
~ ÑÑ
~
~
~
[No Name] [+] 1,0-1 ÐеÑÑ
1 #!/bin/sh
2
3 hostname=`hostname`
4 uname -a | egrep -qi '(freebsd|darwin)' || hostname=`hostname -f`
5
10 lilalo_user=13-10-2014
6 #
8 # Set this variables before installation:
9
10 lilalo_user=13-10-2014
11 lab=NT-LNet
12 install_l3bashrc_for_this_users=${users:-"root user"} # users who will use l3agent and l3script
13 lilalo_context="/users/${lilalo_user}/${lab}/${hostname}"
14
19 l
16 ###############################################################################
21
18
19 lilalo_rc=.l3rc
20 lilalo_home=.lilalo
21 url_lilalo="http://xgu.ru/lilalo"
22 3bashrc 3bashrc
23 url_l3agent="${url_lilalo}"/l3-agentt
24 url_l3config_pm="${url_lilalo}"/l3config.pm
25 url_l3config="${url_lilalo}"/l3-config
6 ###################################################################
31
32 wget=wget
33 uname -a | egrep -qi '(bsd|darwin)' && wget=fetch
10
35 normC='\033[0;39m'
12 install_l3bashrc_fo
37 redC='\033[0;31m'
38 greenC='\033[0;32m'
15
40 apt_get_install_deps()
41 {
18
42 lil return 03rc
20 lilalo_ho
45 apt-get install -y $apt_get_install_this
22 url_l3ba
47 echo "Please install this dependencies manually:"
24 url_l3config_pm="${url_lilalo}"/l3
49 echo "Have you installed this already (y/n)?"
26 url_l3prompt="${url_lilalo}"
51 if echo $answer | grep -q ^[yY]
30 apt_get_inst
52 then="Term-VT102 Text-Iconv" 1,1 ÐавеÑÑ
Ñ
26 url_l3prompt="${url_lilalo}"/l3prompt
~
~
~
~
~
~
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
~ ÑÑ
[No Name] [+] 1,0-1 ÐеÑÑ
4 uname -a | egrep -qi '(freebsd|darwin)' || hostname=`hostname -f`
5
6 ###############################################################################
7 #
8 # Set this variables before installation:
10
10 lilalo_user=13-10-2014
11 lab=NT-LNet
12 install_l3bashrc_for_this_users=${users:-"root user"} # users who will use l3agent and l3script
13 lilalo_context="/users/${lilalo_user}/${lab}/${hostname}"
14
15 #
16 ###############################################################################
17
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"
30
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
39tall 12,41 1%楥
Ñ