Fix sh loader

This commit is contained in:
2022-01-26 19:47:11 -06:00
parent b1b903e507
commit bdcd43ef29
3 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,6 @@
# Sources necessary shell scripts
if [ -d "./custom" ]; then
source ./custom/*.sh
fi
TOOLKIT=/etc/toolkit
# Sources custom shell scripts
for sh in ${TOOLKIT}/sh/custom/*.sh; do
test -r "$sh" && . "$sh"
done