From 85aec900c91d5d6edd82cf2c29938287ac9b2c1c Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 15 Dec 2025 11:15:16 -0500 Subject: [PATCH] Remove unused run-fstrim.sh script Modern distributions automatically run fstrim. This can be checked with: systemctl status fstrim.timer Signed-off-by: Hugo Villeneuve --- scripts/Makefile.am | 1 - scripts/run-fstrim.sh | 13 ------------- 2 files changed, 14 deletions(-) delete mode 100755 scripts/run-fstrim.sh diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5df8414..956b8b2 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -16,7 +16,6 @@ dist_bin_SCRIPTS = \ mail-files mail-if-fail mail-statistics \ replace.pl \ rotatelogs \ - run-fstrim.sh \ setdate \ strip-debug-symbols \ tildes-clean \ diff --git a/scripts/run-fstrim.sh b/scripts/run-fstrim.sh deleted file mode 100755 index 503bdc3..0000000 --- a/scripts/run-fstrim.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -MOUNT_POINTS="\ - / \ - /mnt/rescue \ - /mnt/hvlinux-latest \ - /mnt/mint \ - /mnt/debian \ - /mnt/stockage" - -for mount in ${MOUNT_POINTS}; do - fstrim ${mount} -done -- 2.20.1