marlin2_i2/buildroot/bin/restore_configs
2019-03-03 16:50:56 -06:00

9 lines
277 B
Bash
Executable file

#!/usr/bin/env bash
cp 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