summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index 3af1f8e..28cfae0 100644
--- a/setup-lbu.in
+++ b/setup-lbu.in
@@ -105,7 +105,7 @@ set_media() {
case "$media" in
LABEL=*|UUID=*) UUID="$media";;
esac
- printf "%s\t%s\t%s\tnoauto,defaults 0 0\n" "${UUID:-$dev}" "$mnt" "$TYPE" >> /etc/fstab
+ printf "%s\t%s\t%s\tnoauto,ro 0 0\n" "${UUID:-$dev}" "$mnt" "$TYPE" >> /etc/fstab
fi
# hack in case we have alpine_dev mounted on /media/usbdisk but