1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 04:29:34 +00:00
MarlinFirmware/buildroot/bin/restore_configs

18 lines
474 B
Bash
Executable File

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