diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-10-04 18:18:05 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-10-04 18:18:17 -0500 |
commit | 3d2c2f0b871944492036d04b0c220ccba1fa2dd5 (patch) | |
tree | 1ff8d53434a51bbaaf947b43180fd997a3a500b0 /init.d/sysfs.in | |
parent | 6a0c033a64ce18056625cd37a94b9810dc5784e3 (diff) |
init.d/sysfs: fix efivarfs module test
Diffstat (limited to 'init.d/sysfs.in')
-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 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 |