2016-03-22 15:13:38 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-09-06 13:28:32 +02:00
|
|
|
restore_configs
|
2016-07-16 14:00:43 +02:00
|
|
|
|
2019-03-03 23:50:56 +01:00
|
|
|
if [ -f "config/examples/$@/Configuration.h" ]; then
|
|
|
|
cp "config/examples/$@/Configuration.h" Marlin/
|
2018-10-13 04:15:54 +02:00
|
|
|
fi
|
|
|
|
|
2019-03-03 23:50:56 +01:00
|
|
|
if [ -f "config/examples/$@/Configuration_adv.h" ]; then
|
|
|
|
cp "config/examples/$@/Configuration_adv.h" Marlin/
|
2018-10-13 04:15:54 +02:00
|
|
|
fi
|
2017-09-06 13:28:32 +02:00
|
|
|
|
2019-03-03 23:50:56 +01:00
|
|
|
if [ -f "config/examples/$@/_Bootscreen.h" ]; then
|
|
|
|
cp "config/examples/$@/_Bootscreen.h" Marlin/
|
2018-07-07 04:10:09 +02:00
|
|
|
fi
|
|
|
|
|
2019-03-03 23:50:56 +01:00
|
|
|
if [ -f "config/examples/$@/_Statusscreen.h" ]; then
|
|
|
|
cp "config/examples/$@/_Statusscreen.h" Marlin/
|
2016-07-16 14:00:43 +02:00
|
|
|
fi
|