update to include Bastillefile as a valid HOOK in verify process

This commit is contained in:
Barry McCormick
2020-08-07 09:24:24 -07:00
parent 5edf9cbe51
commit 85176e35da

View File

@@ -54,7 +54,7 @@ verify_template() {
_template_path=${bastille_templatesdir}/${BASTILLE_TEMPLATE}
_hook_validate=0
for _hook in TARGET INCLUDE PRE OVERLAY FSTAB PF PKG SYSRC SERVICE CMD; do
for _hook in TARGET INCLUDE PRE OVERLAY FSTAB PF PKG SYSRC SERVICE CMD Bastillefile; do
_path=${_template_path}/${_hook}
if [ -s "${_path}" ]; then
_hook_validate=$((_hook_validate+1))