]> git.sur5r.net Git - bacula/rescue/blob - rescue/linux/usb/mountiso
Start USB rescue
[bacula/rescue] / rescue / linux / usb / mountiso
1 #!/bin/sh
2 #
3
4 if [ "x$1" != "x" ] ; then
5 ISOIMAGE=$1
6 elif [ "x$ISOIMAGE" = "x" ] ; then
7    echo "Please specify the ISO on the command line or set the enviornment variable ISOIMAGE to point to your ISO"
8    exit 1
9 fi
10
11 mkdir -p cdrom
12 mount -o loop -t iso9660 $ISOIMAGE cdrom