summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeni Golov <evgeni@debian.org>2016-01-01 14:48:06 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-28 14:20:57 +0000
commit237b8e5560794a6ed3c68660d2720eec809d42e9 (patch)
tree65ed15c8de888049b8108014f3267a2ddd95fccf
parentSetting default host in fetch urls to be ROOTSERVER if it is blank (Closes: #... (diff)
downloadsystem-boot-237b8e5560794a6ed3c68660d2720eec809d42e9.tar.xz
system-boot-237b8e5560794a6ed3c68660d2720eec809d42e9.zip
Fixing detection of (no)persistence option in read-only mode.
Thanks intrigeri for finding the bug and mika for suggesting a fix. Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xcomponents/0020-read-only2
1 files changed, 1 insertions, 1 deletions
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