This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/buildroot/bin/restore_configs
2018-09-02 03:27:39 -05:00

9 lines
288 B
Bash
Executable file

#!/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