Fixed the download_initramfs_image_http script
[people/pravin/BKO.git] / install_help / download_initramfs_images_http.sh
1 #!/bin/bash
2 set -e
3
4 # pick the configuration information
5 source ../config
6
7 # all scripts are in install folder
8 cd ..
9
10 REMOTE_BKO_LOCATION=$REMOTE_INITRAMFS_DOWNLOAD_LOCATION
11 REMOTE_BKO_LOCATION="http://rom.etherboot.org/share/pravin/BKO/"
12 LOCAL_BKO_LOCATION=`pwd`
13
14
15 echo "downloading dsl initramfs"
16 FILE_TO_COPY=/bko/live/dsl/minirt24.gz
17 rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
18 wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
19
20 echo "downloading knoppix initramfs"
21 FILE_TO_COPY=/bko/live/knoppix/5.11/minirt.gz
22 rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
23 wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
24
25 echo "downloading knoppix6 initramfs"
26 FILE_TO_COPY=/bko/live/knoppix/6.0.1/minirt.gz
27 rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
28 wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
29
30 echo "downloading fedora initramfs"
31 FILE_TO_COPY=/bko/live/fedora/f11/initrd0.img
32 rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
33 wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
34
35 echo "downloading debian initramfs"
36 FILE_TO_COPY=/bko/live/debian/initmod/initrd1.img
37 rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
38 wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
39
40 echo "downloading ubuntu initramfs"
41 FILE_TO_COPY=/bko/live/ubuntu/U9/initrd.gz
42 rm -f $LOCAL_BKO_LOCATION/$FILE_TO_COPY
43 wget $REMOTE_BKO_LOCATION/$FILE_TO_COPY -O $LOCAL_BKO_LOCATION/$FILE_TO_COPY
44