init.d/sysfs: fix efivarfs module test

This commit is contained in:
William Hubbs 2016-10-04 18:18:05 -05:00
parent 6a0c033a64
commit 3d2c2f0b87

View File

@ -99,7 +99,7 @@ mount_misc()
fi fi
# set up kernel support for efivarfs # 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 " \ ewarn "The efivarfs module needs to be configured in " \
"@SYSCONFDIR@/conf.d/modules or built in" "@SYSCONFDIR@/conf.d/modules or built in"
fi fi