updade mount options.

pull/10/head
Raphaël Vinot 2013-02-08 18:11:20 +01:00
parent 81b29d7851
commit 4935e17e56
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ fi
if mount|grep $DST; then
umount $DST || true
fi
mount -o noexec ${DEV_DST} ${DST}
mount -o noexec,nosuid,nodev ${DEV_DST} ${DST}
if [ $? -ne 0 ]; then
echo Unable to mount ${DEV_DST} on ${DST}
exit
@ -98,7 +98,7 @@ do
umount $SRC
fi
mount -o noexec -r $partition $SRC
mount -o noexec,nosuid,nodev -r $partition $SRC
if [ $? -ne 0 ]; then
echo Unable to mount ${partition} on $SRC
else