mirror of https://github.com/CIRCL/Circlean
updade mount options.
parent
81b29d7851
commit
4935e17e56
|
@ -68,7 +68,7 @@ fi
|
||||||
if mount|grep $DST; then
|
if mount|grep $DST; then
|
||||||
umount $DST || true
|
umount $DST || true
|
||||||
fi
|
fi
|
||||||
mount -o noexec ${DEV_DST} ${DST}
|
mount -o noexec,nosuid,nodev ${DEV_DST} ${DST}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo Unable to mount ${DEV_DST} on ${DST}
|
echo Unable to mount ${DEV_DST} on ${DST}
|
||||||
exit
|
exit
|
||||||
|
@ -98,7 +98,7 @@ do
|
||||||
umount $SRC
|
umount $SRC
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mount -o noexec -r $partition $SRC
|
mount -o noexec,nosuid,nodev -r $partition $SRC
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo Unable to mount ${partition} on $SRC
|
echo Unable to mount ${partition} on $SRC
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue