refactor!: removing support for DWC

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-02 00:27:42 +02:00
parent e26a34b316
commit 6272f99f10
21 changed files with 47 additions and 1078 deletions

View File

@@ -115,20 +115,6 @@ function backup_klipper(){
fi
}
function backup_dwc2(){
if [ -d "${DWC2FK_DIR}" ] && [ -d "${DWC_ENV_DIR}" ] && [ -d "${DWC2_DIR}" ]; then
status_msg "Creating DWC2 Web UI backup ..."
check_for_backup_dir
get_date
status_msg "Timestamp: ${current_date}"
mkdir -p "${BACKUP_DIR}/dwc2-backups/${current_date}"
cp -r "${DWC2FK_DIR}" "${_}" && cp -r "${DWC_ENV_DIR}" "${_}" && cp -r "${DWC2_DIR}" "${_}"
ok_msg "Backup complete!"
else
print_error "Can't backup dwc2-for-klipper-socket and/or dwc2 directory!\n Not found!"
fi
}
function backup_mainsail(){
if [ -d "${MAINSAIL_DIR}" ]; then
status_msg "Creating Mainsail backup ..."