From 3d2c2f0b871944492036d04b0c220ccba1fa2dd5 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 4 Oct 2016 18:18:05 -0500 Subject: [PATCH] init.d/sysfs: fix efivarfs module test --- init.d/sysfs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/sysfs.in b/init.d/sysfs.in index acaae16f..7183e5d8 100644 --- a/init.d/sysfs.in +++ b/init.d/sysfs.in @@ -99,7 +99,7 @@ mount_misc() fi # set up kernel support for efivarfs - if [ ! -d /sys/module/efivarfs ] && modprobe -q efivarfs; then + if [ ! -d /sys/firmware/efi/efivars ] && modprobe -q efivarfs; then ewarn "The efivarfs module needs to be configured in " \ "@SYSCONFDIR@/conf.d/modules or built in" fi