Firmware/buildroot/bin/use_example_configs
2017-12-16 17:32:32 -06:00

10 lines
230 B
Bash
Executable File

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