2024/server/preseed/run_env.sh

10 lines
95 B
Bash
Raw Normal View History

#!/bin/bash
ENV_FILE="$1"
CMD=${@:2}
set -o allexport
source $ENV_FILE
set +o allexport
$CMD