use_example_configs 469 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. restore_configs
  3. if [ -f "config/examples/$@/Configuration.h" ]; then
  4. cp "config/examples/$@/Configuration.h" Marlin/
  5. fi
  6. if [ -f "config/examples/$@/Configuration_adv.h" ]; then
  7. cp "config/examples/$@/Configuration_adv.h" Marlin/
  8. fi
  9. if [ -f "config/examples/$@/_Bootscreen.h" ]; then
  10. cp "config/examples/$@/_Bootscreen.h" Marlin/
  11. fi
  12. if [ -f "config/examples/$@/_Statusscreen.h" ]; then
  13. cp "config/examples/$@/_Statusscreen.h" Marlin/
  14. fi