mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-28 02:39:25 -05:00
output
This commit is contained in:
parent
4f6f588fb5
commit
b0a0004a85
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user