This commit is contained in:
Patrick Schleizer 2022-02-10 13:47:10 -05:00
parent 4f6f588fb5
commit b0a0004a85
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -20,7 +20,7 @@ for filename in ${system_map_location} ; do
done done
if [ "$counter" -ge "1" ]; then if [ "$counter" -ge "1" ]; then
echo "Deleting system.map files..." echo "INFO: Deleting system.map files..."
fi fi
## 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.
@ -29,14 +29,14 @@ for filename in ${system_map_location} ; do
if [ -w "${filename}" ]; then if [ -w "${filename}" ]; then
## 'shred' with '--verbose' is too chatty. (7 lines) ## 'shred' with '--verbose' is too chatty. (7 lines)
shred --force --zero -u "${filename}" shred --force --zero -u "${filename}"
echo "removed '${filename}'" echo "INFO: removed '${filename}'"
else else
echo "Cannot delete '${filename}' - read-only. For details, see: https://www.kicksecure.com/wiki/security-misc#system_map" echo "NOTE: Cannot delete '${filename}' - read-only. For details, see: https://www.kicksecure.com/wiki/security-misc#system_map"
exit 0 exit 0
fi fi
fi fi
done done
if [ "$counter" -ge "1" ]; then if [ "$counter" -ge "1" ]; then
echo "Done. Success." echo "INFO: Done. Success."
fi fi