pxe: facilitate run
This commit is contained in:
parent
bbfb5864fd
commit
70921866cf
|
@ -59,6 +59,10 @@ END
|
|||
}
|
||||
|
||||
init_config() {
|
||||
|
||||
# get where the script is
|
||||
cd "$(dirname "${0}")"
|
||||
|
||||
if [ -f ./.env ]; then
|
||||
. ./.env
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue