Marlin_Firmware/buildroot/bin/use_example_configs
2017-09-20 19:48:21 -05:00

10 lines
254 B
Bash
Executable File

#!/usr/bin/env bash
restore_configs
eval "cp Marlin/src/config/examples/${1}/Configuration* Marlin/src/config/"
if [ -f "Marlin/src/config/examples/${1}/_Bootscreen.h" ]; then
cp "Marlin/src/config/examples/${1}/_Bootscreen.h" Marlin/src/config/
fi