diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-13 12:45:35 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-13 13:19:36 -0500 |
commit | f87a9eec3d23ea01578500972f1df993d5d24fba (patch) | |
tree | 821e6e5d2ec9267749f746eab4547cbccde8cc5e /init.d | |
parent | 1e837d596e483ceb5cec177a6c7faff24a42384b (diff) |
init.d/sysfs: mount efivars read only
This fixes #134.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/sysfs.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in index e493f584..a2538114 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 ${sysfs_opts} \ + mount -n -t efivarfs -o ro \ efivarfs /sys/firmware/efi/efivars 2> /dev/null eend 0 fi |