-i ISODIR Set the mount directory for the stock SysRescCD iso ($ISODIR)
-u USBDIR Set the directory for mounting the USB stick ($USBDIR)
-m SYSLINUX Set the syslinux program ($SYSLINUX)
- -s MINSIZEMB Minimal size required for SysRescCD in mega-bytes
+ -s MINSIZEMB Minimal size required for SysRescCD in mega-bytes ($MINSIZEMB)
dialog Dialog to make SystemRescueCD-USB-Sticks
Distributed under the GNU Public License version 2 - http://www.sysresccd.org
exit 1
fi
-while getopts ":ui:r:w:m:" Option
+while getopts ":i:u:m:s:" Option
do
case $Option in
i ) ISODIR="$OPTARG";;
- r ) ROOTDIR="$OPTARG";;
- w ) WORKDIR="$OPTARG";;
+ u ) USBDIR="$OPTARG";;
+ m ) SYSLINUX="$OPTARG";;
+ s ) MINSIZEMB="$OPTARG";;
* ) usage; exit 1;; # Default, handles -h
esac
done