X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F0120-read-only;h=859f77105c7398475112928be0cbc896bf8a8011;hb=ea3551dc9b7abd91bea03a416d9222bfc2a3270d;hp=c05c162a86fca17a3f2281ceba598d88abd63cda;hpb=e5efea97c9573d24a5cd4aa051a5f39696913bcf;p=live-boot-grml.git diff --git a/scripts/boot/0120-read-only b/scripts/boot/0120-read-only index c05c162..859f771 100755 --- a/scripts/boot/0120-read-only +++ b/scripts/boot/0120-read-only @@ -18,10 +18,14 @@ Read_only () esac done - if [ "${LIVE_READ_ONLY}" != "true" ] - then - return 0 - fi + case "${LIVE_READ_ONLY}" in + true) + ;; + + *) + return 0 + ;; + esac # Marking some block devices as read-only to ensure that nothing # gets written as linux still writes to 'only' read-only mounted filesystems.