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