diff options
author | tleydxdy | 2021-08-20 10:34:50 -0400 |
---|---|---|
committer | tleydxdy | 2021-08-20 10:34:50 -0400 |
commit | b95b70d73b58a96a9ac9171e9baca844cd50bf2c (patch) | |
tree | 42682b27f0c77973951eb5c0910a5aab451647b8 /dracut-sb.install | |
parent | 9f9c5103f03ab34c0dd9941df2b9df58b1bec982 (diff) | |
download | aur-dracut-sb.tar.gz |
add more hooks
Diffstat (limited to 'dracut-sb.install')
-rw-r--r-- | dracut-sb.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dracut-sb.install b/dracut-sb.install new file mode 100644 index 000000000000..f4fa328b73b0 --- /dev/null +++ b/dracut-sb.install @@ -0,0 +1,16 @@ +post_install() { + echo "Edit the config at /etc/dracut-sb/efi-key.conf to contain the correct info," + echo "plug in the drive with the keys, then Press Enter" + read + /usr/local/share/libalpm/scripts/efi-key + echo "" | /usr/local/share/libalpm/scripts/dracut-install +} + +post_upgrade() { + /usr/local/share/libalpm/scripts/efi-key + echo "" | /usr/local/share/libalpm/scripts/dracut-install +} + +post_remove() { + echo "" | /usr/local/share/libalpm/scripts/dracut-install +} |