restore_configs 272 B

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