1 |
commit: 3d2c2f0b871944492036d04b0c220ccba1fa2dd5 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 4 23:18:05 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 4 23:18:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=3d2c2f0b |
7 |
|
8 |
init.d/sysfs: fix efivarfs module test |
9 |
|
10 |
init.d/sysfs.in | 2 +- |
11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/init.d/sysfs.in b/init.d/sysfs.in |
14 |
index acaae16..7183e5d 100644 |
15 |
--- a/init.d/sysfs.in |
16 |
+++ b/init.d/sysfs.in |
17 |
@@ -99,7 +99,7 @@ mount_misc() |
18 |
fi |
19 |
|
20 |
# set up kernel support for efivarfs |
21 |
- if [ ! -d /sys/module/efivarfs ] && modprobe -q efivarfs; then |
22 |
+ if [ ! -d /sys/firmware/efi/efivars ] && modprobe -q efivarfs; then |
23 |
ewarn "The efivarfs module needs to be configured in " \ |
24 |
"@SYSCONFDIR@/conf.d/modules or built in" |
25 |
fi |