1 |
#!/bin/sh |
#!/bin/sh -x |
2 |
|
|
3 |
|
source `dirname $0`/../.install.sh |
4 |
|
|
5 |
|
depends vde2 |
6 |
|
sudo sh -c 'usermod -G vde2-net -a $SUDO_USER' |
7 |
|
|
8 |
|
id $USER |
9 |
|
|
10 |
dir=tftp/debian-live |
dir=tftp/debian-live |
11 |
|
|
12 |
test -d $dir &&\ |
test -d $dir || |
13 |
wget -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/debian-live-501-i386-standard.squashfs &&\ |
wget -m -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/debian-live-501-i386-standard.squashfs &&\ |
14 |
wget -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/vmlinuz1 &&\ |
wget -m -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/vmlinuz1 &&\ |
15 |
wget -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/initrd1.img &&\ |
wget -m -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/initrd1.img &&\ |
16 |
echo "download to $dir complete" |
echo "download to $dir complete" |
17 |
|
|
|
|
|