From 11a6c110f2e7665405dddd2863f74e4e7b26cec4 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 1 Jan 2016 15:48:06 +0100 Subject: [PATCH] fix detection of (no)persistence option in read-only mode thanks intrigeri for finding the bug and mika for suggesting a fix --- components/0020-read-only | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/0020-read-only b/components/0020-read-only index a2c86ef..f56b8cf 100755 --- a/components/0020-read-only +++ b/components/0020-read-only @@ -54,7 +54,7 @@ Read_only () esac done - if grep -qe persistence /proc/cmdline + if grep -qw persistence /proc/cmdline then printf " * Persistence mode enabled, searching for persistency related devices to unlock\n" >/dev/console -- 2.1.4