From 382e336f69097f3baa7693da6aaf8833b05cf322 Mon Sep 17 00:00:00 2001 From: madaidan <50278627+madaidan@users.noreply.github.com> Date: Tue, 25 Jun 2019 19:20:27 +0000 Subject: [PATCH] Create remove-system.map --- usr/lib/security-misc/remove-system.map | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 usr/lib/security-misc/remove-system.map 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