socsvn commit: r289500 - soc2013/def/crashdump-head/etc/rc.d
def at FreeBSD.org
def at FreeBSD.org
Sun Aug 9 23:36:47 UTC 2015
Author: def
Date: Sun Aug 9 23:36:46 2015
New Revision: 289500
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289500
Log:
Use kern.features.ekcd sysctl to verify if kernel has EKCD.
Modified:
soc2013/def/crashdump-head/etc/rc.d/cryptcore
Modified: soc2013/def/crashdump-head/etc/rc.d/cryptcore
==============================================================================
--- soc2013/def/crashdump-head/etc/rc.d/cryptcore Sun Aug 9 23:34:52 2015 (r289499)
+++ soc2013/def/crashdump-head/etc/rc.d/cryptcore Sun Aug 9 23:36:46 2015 (r289500)
@@ -16,7 +16,7 @@
cryptcore_check()
{
- sysctl -Nq security.ekcd.enable >/dev/null
+ sysctl -Nq kern.features.ekcd >/dev/null
if [ $? -ne 0 ]; then
err 1 "Kernel is missing encrypted kernel crash dumps."
fi
More information about the svn-soc-all
mailing list