mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 10:59:27 -05:00
refactoring
This commit is contained in:
parent
daf0006795
commit
d6977becba
@ -6,9 +6,8 @@
|
|||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
## Removes the System.map files as they are only used for debugging or malware.
|
## Removes the System.map files as they are only used for debugging or malware.
|
||||||
for filename in /boot/System.map-*
|
for filename in /boot/System.map-* ; do
|
||||||
do
|
if [ -f "${filename}" ]; then
|
||||||
if [ -f "${filename}" ]; then
|
rm --verbose --force "${filename}"
|
||||||
rm --verbose --force "${filename}"
|
fi
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user