Firmware/buildroot/bin/use_example_configs

10 lines
230 B
Plaintext
Raw Normal View History

#!/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