diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-07-20 00:45:49 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-07-20 00:45:49 +0000 |
commit | 462a350678cbee57e9baa25152bc7de7379f4962 (patch) | |
tree | 340106b9e56368f5c7447e30d7e979268557480e /system/easy-boot/update-boot | |
parent | 3e0ffda88c14c8e19ba72c0135ee049c0fa375c8 (diff) | |
parent | 77a32d089abcb5f43da122e4b97575e671213457 (diff) | |
download | packages-462a350678cbee57e9baa25152bc7de7379f4962.tar.gz packages-462a350678cbee57e9baa25152bc7de7379f4962.tar.bz2 packages-462a350678cbee57e9baa25152bc7de7379f4962.tar.xz packages-462a350678cbee57e9baa25152bc7de7379f4962.zip |
Merge branch 'new/easy-boot' into 'master'
Adjust existing boot-related triggers and add one for dracut
See merge request adelie/packages!485
Diffstat (limited to 'system/easy-boot/update-boot')
-rw-r--r-- | system/easy-boot/update-boot | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/easy-boot/update-boot b/system/easy-boot/update-boot new file mode 100644 index 000000000..a3e45ebf4 --- /dev/null +++ b/system/easy-boot/update-boot @@ -0,0 +1,13 @@ +#!/bin/sh -e +rc=0 + +for i in /etc/easy-boot.d/*; do + [ -x "$i" ] || continue + printf '>>> %s\n' "${i##*/}" >&2 + if ! "$i"; then + printf '>>> Kernel boot hook failed!\n' >&2 + rc="$((rc + 1))" + fi +done + +exit "$rc" |