aboutsummaryrefslogtreecommitdiff
path: root/init.d/sysfs.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-08-14 10:21:27 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-08-14 10:21:27 -0500
commit7cb8d943236fe651ac54c64f8167f7c4369f649c (patch)
tree7aabf5d4b2e80b8ce93e24329e6ffd4648946d87 /init.d/sysfs.in
parent84ed570eaefcbb55b99ba425030bf7d1d1d46137 (diff)
Stop mounting efivarfs read-only
We do not need to do this any longer since all supported linux kernels make efivarfs immutable and the tools that manipulate it are aware of this feature. This fixes https://github.com/openrc/openrc/issues/238.
Diffstat (limited to 'init.d/sysfs.in')
-rw-r--r--init.d/sysfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index f0d02e5c..89707120 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -101,7 +101,7 @@ mount_misc()
if [ -d /sys/firmware/efi/efivars ] &&
! mountinfo -q /sys/firmware/efi/efivars; then
ebegin "Mounting efivarfs filesystem"
- mount -n -t efivarfs -o ro \
+ mount -n -t efivarfs -o ${sysfs_opts} \
efivarfs /sys/firmware/efi/efivars 2> /dev/null
eend 0
fi