Commit 0fc2b9bf authored by Loic's avatar Loic
Browse files

added a check to avoid starting without the sysctl variables

Added a sysctl control to prevent the system from crashing.
See the bug #1
Signed-off-by: Loic's avatarLoic <>
parent 944e5208
......@@ -52,7 +52,12 @@ secadm_prestart()
if [ ! -f ${secadm_rules} ]
echo "missing rules file: ${secadm_rules}"
echo "Missing rules file: ${secadm_rules}"
return 1
if ! (sysctl -a | egrep -q "kern.features.integriforce|kern.features.secadm") ; then
echo "Missing secadm sysctl!"
return 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment