From: Hugo Villeneuve Date: Mon, 15 Dec 2025 16:15:16 +0000 (-0500) Subject: Remove unused run-fstrim.sh script X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=hvutilities.git 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 --- 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