diff --git a/usr/lib/security-misc/remove-system.map b/usr/lib/security-misc/remove-system.map new file mode 100644 index 0000000..75edbbe --- /dev/null +++ b/usr/lib/security-misc/remove-system.map @@ -0,0 +1,6 @@ +#!/bin/bash + +# Removes the System.map files as they are only used for debugging or malware. +if [ -f /boot/System.map-* ]; then + rm /boot/System.map-* +fi