Skip to content

Commit bcf4afb

Browse files
committed
zfsbootmenu-init: fix hook skipping for *all* stages
1 parent 33ed9a4 commit bcf4afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zfsbootmenu/libexec/zfsbootmenu-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ if zbm_skip_hooks="$( get_zbm_arg zbm.skip_hooks )" && [ -n "${zbm_skip_hooks}"
9090
for _skip in "${zbm_skip_hooks[@]}"; do
9191
[ -n "${_skip}" ] || continue
9292

93-
for _hook in /libexec/hooks/{early-setup,setup,teardown}.d/*; do
93+
for _hook in /libexec/hooks/*.d/*; do
9494
[ -e "${_hook}" ] || continue
9595
if [ "${_skip}" = "${_hook##*/}" ]; then
9696
zinfo "Disabling hook: ${_hook}"

0 commit comments

Comments
 (0)