Marlin/buildroot/bin/restore_configs

18 lines
474 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2017-09-18 22:20:22 +00:00
cp Marlin/src/config/default/Configuration.h Marlin/Configuration.h
cp Marlin/src/config/default/Configuration_adv.h Marlin/Configuration_adv.h
if [ -f Marlin/src/pins/pins_RAMPS.h.backup ]; then
cp Marlin/src/pins/pins_RAMPS.h.backup Marlin/src/pins/pins_RAMPS.h
rm Marlin/src/pins/pins_RAMPS.h.backup
fi
if [ -f Marlin/_Bootscreen.h ]; then
rm Marlin/_Bootscreen.h
fi
if [ -f Marlin/_Statusscreen.h ]; then
rm Marlin/_Statusscreen.h
fi