blob: a3e45ebf4da8b86cdfd1d0c18b67a06b0e5d86e9 (
plain) (
tree)
|
|
#!/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"
|