1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/secureboot-hook/secureboot-hook.pre-deinstall

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