mirror of
https://0xacab.org/optout/plague-kernel.git
synced 2024-09-28 22:26:09 +00:00
Fixed reference positions of system.map & signing keys to ensure deletion | fixed read response with reboot
This commit is contained in:
parent
7525888248
commit
08ad220f6c
@ -130,17 +130,15 @@ case "${distroId,,}" in
|
|||||||
|
|
||||||
|
|
||||||
# Remove sysmap/signing keys
|
# Remove sysmap/signing keys
|
||||||
rm /lib/modules/"$KVER"/source/certs/signing_key*
|
rm /usr/src/linux-hardened-"$KVER"/certs/signing_key*
|
||||||
rm /lib/modules/"$KVER"/source/System.map
|
rm /usr/src/linux-hardened-"$KVER"/System.map
|
||||||
rm /lib/modules/"$KVER"/source
|
|
||||||
rm /lib/modules/"$KVER"/build
|
|
||||||
|
|
||||||
echo "Congrats! Your custom kernel based on the PlagueOS kernel configuration has been installed."
|
echo "Congrats! Your custom kernel based on the PlagueOS kernel configuration has been installed."
|
||||||
echo "Reboot now? (y/N): "
|
read -p "Reboot now? (y/N): " response
|
||||||
read reboot_opt
|
response=$(echo $response | tr '[:upper:]' '[:lower:]')
|
||||||
|
if [[ $response == "y" ]]; then
|
||||||
if [[ "$reboot_opt" == "Y" ]]; then
|
|
||||||
reboot
|
reboot
|
||||||
else
|
else
|
||||||
exit
|
echo "Exiting..."
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user