`manual_add_modules` is exposed to user-configuration. We run `apply_add_modules` after the hooks has been run (CONFDIR is the user configuration directory):
```
run_scripts_optional "${CONFDIR}"/hooks
# cache boot run order
for b in $(cd "${DESTDIR}/scripts" && find . -mindepth 1 -type d); do
cache_run_scripts "${DESTDIR}" "/scripts/${b#./}"
done
apply_add_modules
```
The possible break appears when the user calls `manual_add_modules` and expects the modules to be present in $DESTDIR afterwards, but the modules will only be copied after apply_add_modules is called.
`manual_ add_modules` is exposed to user-configuration. We run `apply_add_modules` after the hooks has been run (CONFDIR is the user configuration directory):
``` optional "${CONFDIR}"/hooks
run_scripts_
# cache boot run order /scripts" && find . -mindepth 1 -type d); do
for b in $(cd "${DESTDIR}
cache_run_scripts "${DESTDIR}" "/scripts/${b#./}"
done
apply_add_modules
```
The possible break appears when the user calls `manual_ add_modules` and expects the modules to be present in $DESTDIR afterwards, but the modules will only be copied after apply_add_modules is called.