as

Diff code posted by asd
created at 01 May 02:22

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
aatman@Aatman-debian:~/Desktop$ diff setup_ltsp.fun setup_ltsp.fun.bu 
97c97
<     if [[ ! -r /opt/ltsp/amd64 ]]; then
---
>     if [[ ! -r /opt/ltsp/i386 ]]; then
108c108
<         cmd=(ltsp-build-client --arch amd64 --mirror "$mirror" $http_proxy)
---
>         cmd=(ltsp-build-client --arch i386 --mirror "$mirror" $http_proxy)
120c120
<     dest_fn=/var/lib/tftpboot/ltsp/amd64/lts.conf
---
>     dest_fn=/var/lib/tftpboot/ltsp/i386/lts.conf
128c128
<     dest_fn=/opt/ltsp/amd64/etc/ntp.conf
---
>     dest_fn=/opt/ltsp/i386/etc/ntp.conf
134c134
<         dest_fn=/opt/ltsp/amd64/etc/saned.d/net.conf
---
>         dest_fn=/opt/ltsp/i386/etc/saned.d/net.conf
164c164
<     setup_file -c "$content_rq" -d /opt/ltsp/amd64/tmp/BLLIS.sh -p 755
---
>     setup_file -c "$content_rq" -d /opt/ltsp/i386/tmp/BLLIS.sh -p 755
173c173
<         mount --bind /$i /opt/ltsp/amd64/$i
---
>         mount --bind /$i /opt/ltsp/i386/$i
181c181
<     cmd=(chroot /opt/ltsp/amd64 /tmp/BLLIS.sh)
---
>     cmd=(chroot /opt/ltsp/i386 /tmp/BLLIS.sh)
199c199
<             buf=$(umount "/opt/ltsp/amd64/$i" 2>&1)
---
>             buf=$(umount "/opt/ltsp/i386/$i" 2>&1)
208,209c208,209
<             && msg I "Unmounted /opt/ltsp/amd64/$i" \
<             || msg W "Failed to unmount /opt/ltsp/amd64/$i"
---
>             && msg I "Unmounted /opt/ltsp/i386/$i" \
>             || msg W "Failed to unmount /opt/ltsp/i386/$i"
1.41 KB in 3 ms with coderay