mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-24 01:36:33 +07:00
15 lines
337 B
Bash
Executable File
15 lines
337 B
Bash
Executable File
#!/bin/bash
|
|
|
|
## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
|
## See the file COPYING for copying conditions.
|
|
|
|
shopt -s nullglob
|
|
|
|
# Removes the System.map files as they are only used for debugging or malware.
|
|
for filename in /boot/System.map-*
|
|
do
|
|
if [ -f "${filename}" ]; then
|
|
rm -f "${filename}"
|
|
fi
|
|
done
|