mount_resflash.sh 331 B

1234567891011121314151617
  1. #!/bin/sh
  2. # Mount a resflash image or filesystem
  3. # Copyright Brian Conway <bconway@rcesoftware.com>, see LICENSE for details
  4. set -o errexit -o nounset -o pipefail #-o xtrace # DEBUG
  5. . $(dirname ${0})/resflash.sub
  6. if [ ${#} -ne 1 ]; then
  7. echo "Usage: ${0} resflash_img_or_fs"
  8. exit 1
  9. fi
  10. mount_img_or_fs ${1}
  11. echo ${MNTPATH}