1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +00:00
MarlinFirmware/buildroot/bin/restore_configs

10 lines
288 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
cp Marlin/src/config/default/Configuration*.h Marlin
[ -f Marlin/src/pins/pins_RAMPS.h.backup ] && cp Marlin/src/pins/pins_RAMPS.h.backup Marlin/src/pins/pins_RAMPS.h
rm -f Marlin/src/pins/pins_RAMPS.h.backup
rm -f Marlin/_Bootscreen.h
rm -f Marlin/_Statusscreen.h