Makefile: add pickrand
[cmccabe-bin] / mount.qemu
index d3f3d0f..bdf1a2c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # check arguments
 if [ $# -ne 2 ]; then
@@ -23,4 +23,4 @@ else
 fi
 
 # mount raw qemu device
-mount -o loop,offset=32256 ${image_file} ${mount_point}
+mount -o loop,rw,offset=32256 ${image_file} ${mount_point}