--- conf/debian-live/install.sh 2009/07/29 00:44:31 26 +++ conf/debian-live/install.sh 2009/07/29 12:23:25 32 @@ -1,11 +1,17 @@ -#!/bin/sh +#!/bin/sh -x + +source `dirname $0`/../.install.sh + +depends vde2 +sudo sh -c 'usermod -G vde2-net -a $SUDO_USER' + +id $USER dir=tftp/debian-live -test -d $dir &&\ -wget -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/debian-live-501-i386-standard.squashfs &&\ -wget -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/vmlinuz1 &&\ -wget -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/initrd1.img &&\ +test -d $dir || +wget -m -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/vmlinuz1 &&\ +wget -m -nd -P $dir http://cdimage.debian.org/cdimage/release/current-live/i386/web/initrd1.img &&\ echo "download to $dir complete" -