pxe: facilitate run

This commit is contained in:
pedro 2024-09-24 12:26:10 -03:00
parent 748a2255eb
commit 887cf162c5
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ END
} }
init_config() { init_config() {
# get where the script is
cd "$(dirname "${0}")"
if [ -f ./.env ]; then if [ -f ./.env ]; then
. ./.env . ./.env
else else