Marlin 2.0 for Flying Bear 4S/5

10 lines
243 B

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