diff options
author | Simon Rettberg | 2023-03-08 14:13:31 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-03-08 14:13:31 +0100 |
commit | 89d5ff25725a8d3cb08ffc8c337b0b349bbe0661 (patch) | |
tree | c78eff37e41c6629da65939d370b3d5637b3b371 | |
parent | [GRUB] Add localboot grub builder (diff) | |
download | setup-scripts-89d5ff25725a8d3cb08ffc8c337b0b349bbe0661.tar.gz setup-scripts-89d5ff25725a8d3cb08ffc8c337b0b349bbe0661.tar.xz setup-scripts-89d5ff25725a8d3cb08ffc8c337b0b349bbe0661.zip |
[SSPS] Remove backup script; integrated with slx-admin now
-rwxr-xr-x | satellit_installer/static_files/system/etc/cron.weekly/backup-satconfig.sh | 12 |
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 {} \; |