rkhunter: fix the fact that f30+ don't install ifup/ifdown from network-scripts anymore.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-09-27 21:26:41 +00:00 committed by Pierre-Yves Chibon
parent 8bae2ce0da
commit 03aff34bd2

View file

@ -645,7 +645,7 @@ SCRIPTWHITELIST=/usr/bin/whatis
SCRIPTWHITELIST=/usr/bin/ldd
SCRIPTWHITELIST=/usr/bin/groups
SCRIPTWHITELIST=/usr/bin/GET
{% if inventory_hostname.startswith(('osbs')) %}
{% if ansible_distribution_major_version|int >= 30 %}
# no network-scripts on newest fedora
#SCRIPTWHITELIST=/sbin/ifup
#SCRIPTWHITELIST=/sbin/ifdown