muele-marlin/buildroot/bin/use_example_configs
2017-12-16 17:29:35 -06:00

10 lines
232 B
Bash
Executable file

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