Marlin_Firmware/buildroot/bin/use_example_configs
2017-09-21 16:27:13 -05:00

10 lines
243 B
Bash
Executable File

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