Firmware2/buildroot/bin/restore_configs

10 lines
272 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
cp Marlin/Configuration.h.backup Marlin/Configuration.h
cp Marlin/Configuration_adv.h.backup Marlin/Configuration_adv.h
cp Marlin/pins_RAMPS.h.backup Marlin/pins_RAMPS.h
if [ -f Marlin/_Bootscreen.h ]; then
rm Marlin/_Bootscreen.h
fi