mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-03 00:24:51 -04:00
refactoring
This commit is contained in:
parent
daf0006795
commit
d6977becba
1 changed files with 4 additions and 5 deletions
|
@ -6,9 +6,8 @@
|
|||
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 --verbose --force "${filename}"
|
||||
fi
|
||||
for filename in /boot/System.map-* ; do
|
||||
if [ -f "${filename}" ]; then
|
||||
rm --verbose --force "${filename}"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue