summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSimon Rettberg2023-03-08 14:13:31 +0100
committerSimon Rettberg2023-03-08 14:13:31 +0100
commit89d5ff25725a8d3cb08ffc8c337b0b349bbe0661 (patch)
treec78eff37e41c6629da65939d370b3d5637b3b371 /satellit_installer
parent[GRUB] Add localboot grub builder (diff)
downloadsetup-scripts-89d5ff25725a8d3cb08ffc8c337b0b349bbe0661.tar.gz
setup-scripts-89d5ff25725a8d3cb08ffc8c337b0b349bbe0661.tar.xz
setup-scripts-89d5ff25725a8d3cb08ffc8c337b0b349bbe0661.zip
[SSPS] Remove backup script; integrated with slx-admin now
Diffstat (limited to 'satellit_installer')
-rwxr-xr-xsatellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh b/satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh
deleted file mode 100755
index 7dacd3d..0000000
--- a/satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-DIR="/root/automatic_config_backup/"
-BACKUP_FILE=$(/opt/taskmanager/scripts/system-backup | tail -n 1 | cut -d' ' -f 2)
-
-mkdir -p "$DIR"
-cd "$DIR" || exit 1
-
-mv "$BACKUP_FILE" "$DIR"
-
-# remove backups older than 180 days
-find "$DIR" -name "*.tgz" -type f -mtime +180 -exec rm -f {} \;