lsmod | grep act_pedit lsmod | grep -q act_pedit && echo "CRIT: act_pedit is already loaded on $(hostname -A)!" || { echo 'install act_pedit /bin/false' > /etc/modprobe.d/disable-act-pedit.conf && modprobe act_pedit 2>/dev/null && echo "WARNING: Mitigation FAILED - module loaded!" || echo "OK: Mitigation applied for $(hostname -A)."; } modprobe act_pedit