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

17 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