From f87a9eec3d23ea01578500972f1df993d5d24fba Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 13 Jun 2017 12:45:35 -0500 Subject: init.d/sysfs: mount efivars read only This fixes #134. --- init.d/sysfs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/sysfs.in') 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 -- cgit v1.2.3