commit: a13f2b91b2e5337d659844be19fd302a0f21b288
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Oct 4 23:18:05 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Oct 5 16:41:40 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=a13f2b91
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 acaae16..7183e5d 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