# platform = multi_platform_rhel
# reboot = true
# strategy = disable
# complexity = low
# disruption = medium
. /usr/share/scap-security-guide/remediation_functions

#
# Set runtime for %SYSCTLVAR%
#
/sbin/sysctl -q -n -w %SYSCTLVAR%=%SYSCTLVAL%

#
# If %SYSCTLVAR% present in /etc/sysctl.conf, change value to "%SYSCTLVAL%"
#	else, add "%SYSCTLVAR% = %SYSCTLVAL%" to /etc/sysctl.conf
#
replace_or_append '/etc/sysctl.conf' '^%SYSCTLVAR%' "%SYSCTLVAL%" '@CCENUM@'
