mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-04 02:28:40 +02:00
16 lines
367 B
Bash
16 lines
367 B
Bash
#!/bin/sh
|
|
|
|
ln -s /usr/share/kernel-hooks.d/secureboot.hook /etc/kernel-hooks.d/50-secureboot.hook
|
|
|
|
case "$(. /etc/mkinitfs/mkinitfs.conf 2>/dev/null; printf %s "$disable_trigger")" in
|
|
yes | true | 1) exit 0;;
|
|
esac
|
|
|
|
cat >&2 <<EOF
|
|
*
|
|
* After configuring Secure Boot, disable mkinitfs trigger:
|
|
* echo 'disable_trigger=yes' >> /etc/mkinitfs/mkinitfs.conf
|
|
*
|
|
EOF
|
|
|
|
exit 0
|