1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +00:00
MarlinFirmware/buildroot/bin/restore_configs
2019-07-11 02:32:24 -05:00

12 lines
272 B
Bash
Executable File

#!/usr/bin/env bash
cp config/default/Configuration*.h Marlin
PINS="Marlin/src/pins"
RAMPS="$PINS/ramps/pins_RAMPS.h"
BKUP="$PINS/ramps/pins_RAMPS.backup.h"
[ -f $BKUP ] && { cp "$BKUP" "$RAMPS" ; rm -f $BKUP ; }
rm -f Marlin/_Bootscreen.h
rm -f Marlin/_Statusscreen.h