refactoring

This commit is contained in:
Patrick Schleizer 2019-11-05 01:51:14 -05:00
parent daf0006795
commit d6977becba
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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