Add a quick way to generate a directory list of any iso firware file

pull/59/head
Hamish Coleman 7 years ago
parent 9450b50a99
commit cadeaf302e

@ -15,8 +15,9 @@ DIR="$1"
case "$DIR" in
from_iso) ;;
to_iso) ;;
ls) ;;
*)
echo direction is either from_iso or to_iso
echo direction is either from_iso, to_iso or ls
exit 1
;;
esac
@ -29,6 +30,12 @@ if [ ! -e "$ISO" ]; then
fi
shift
# If we just want to look at the contents, do that
if [ "$DIR" = "ls" ]; then
mdir -i "$ISO"@@"$FAT_OFFSET" -/ -b
exit
fi
# The "external" filename - used in the linux filesystem
FILENAME="$1"
if [ -z "$FILENAME" ]; then

Loading…
Cancel
Save