mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 20:09:13 +02:00
Allow read only
https://github.com/alexbelgium/hassio-addons/issues/1148
This commit is contained in:
@@ -28,7 +28,7 @@ test_mount () {
|
|||||||
else
|
else
|
||||||
MOUNTOPTIONS="$MOUNTOPTIONS,noserverino"
|
MOUNTOPTIONS="$MOUNTOPTIONS,noserverino"
|
||||||
echo "... testing with noserverino"
|
echo "... testing with noserverino"
|
||||||
mount_drive "$MOUNTOPTIONS"
|
mount_drive "$MOUNTOPTIONS" || bashio::log.warning "Read-only mount confirmed"
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user