aports/main/secureboot-hook/secureboot-hook.pre-deinstall
2021-11-13 21:08:26 +01:00

11 lines
188 B
Bash

#!/bin/sh
HOOK_FILE='/usr/share/kernel-hooks.d/secureboot.hook'
for link in /etc/kernel-hooks.d/*; do
if [ "$(readlink -f "$link")" = "$HOOK_FILE" ]; then
rm "$link"
fi
done
exit 0