Remove unused run-fstrim.sh script master
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 15 Dec 2025 16:15:16 +0000 (11:15 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 15 Dec 2025 16:17:21 +0000 (11:17 -0500)
Modern distributions automatically run fstrim.

This can be checked with:

    systemctl status fstrim.timer

Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
scripts/Makefile.am
scripts/run-fstrim.sh [deleted file]

index 5df8414..956b8b2 100644 (file)
@@ -16,7 +16,6 @@ dist_bin_SCRIPTS = \
     mail-files mail-if-fail mail-statistics \
     replace.pl \
     rotatelogs \
     mail-files mail-if-fail mail-statistics \
     replace.pl \
     rotatelogs \
-    run-fstrim.sh \
     setdate \
     strip-debug-symbols \
     tildes-clean \
     setdate \
     strip-debug-symbols \
     tildes-clean \
diff --git a/scripts/run-fstrim.sh b/scripts/run-fstrim.sh
deleted file mode 100755 (executable)
index 503bdc3..0000000
+++ /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