From: Evgeni Golov Date: Fri, 1 Jan 2016 14:48:06 +0000 (+0100) Subject: fix detection of (no)persistence option in read-only mode X-Git-Tag: debian/1%20160511~7 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=11a6c110f2e7665405dddd2863f74e4e7b26cec4 fix detection of (no)persistence option in read-only mode thanks intrigeri for finding the bug and mika for suggesting a fix --- 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