From a4fa08b06393fab44ff6937352937a4d4404f328 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Fri, 10 Jul 2020 23:49:22 -0500 Subject: system/easy-boot: new package --- system/easy-boot/update-boot | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system/easy-boot/update-boot (limited to 'system/easy-boot/update-boot') 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" -- cgit v1.2.3-60-g2f50