summaryrefslogblamecommitdiff
path: root/system/easy-boot/update-boot
blob: a3e45ebf4da8b86cdfd1d0c18b67a06b0e5d86e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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"