summaryrefslogtreecommitdiff
path: root/script.sh
diff options
context:
space:
mode:
authorFlorent Foltzer2015-03-04 11:13:47 +0100
committerFlorent Foltzer2015-03-04 11:13:47 +0100
commit1c917ed43a58e1c1c77ccd0815b6e95fbcca54ff (patch)
tree74ea76de2465eac7faa6a0b7bc1e9019a9319df7 /script.sh
parent29d2dc94f876e2efb4f008cac33584bebc3dcefb (diff)
Add sudo and type ext4 to mount cmd
Diffstat (limited to 'script.sh')
-rwxr-xr-xscript.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/script.sh b/script.sh
index dad7f58..58a12f8 100755
--- a/script.sh
+++ b/script.sh
@@ -4,7 +4,7 @@ mkdir -p "$MOUNT_PATH"
4 4
5while read name 5while read name
6do 6do
7 mount -oloop,ro,noload "$name" "$MOUNT_PATH" 7 sudo -t ext4 mount -oloop,ro,noload "$name" "$MOUNT_PATH"
8 python ./scanner.py -f "$MOUNT_PATH" -t 1 8 python ./scanner.py -f "$MOUNT_PATH" -t 1
9 umount "$MOUNT_PATH" || exit 1 9 sudo umount "$MOUNT_PATH" || exit 1
10done 10done