aboutsummaryrefslogtreecommitdiffstats
path: root/system/usr/system-maintenance
diff options
context:
space:
mode:
authorSpacedio <spacedio@thernusen.net>2026-06-03 22:39:11 -0400
committerSpacedio <spacedio@thernusen.net>2026-06-03 22:39:11 -0400
commit7846c1b33585a88333d2b0ac2270d0d304a2eeac (patch)
tree27839140aef97d0fd24b8bd405df1583edca86af /system/usr/system-maintenance
parentc9631b31a16b18140b7e471193618f5618fd0521 (diff)
downloaddotfiles-7846c1b33585a88333d2b0ac2270d0d304a2eeac.tar.gz
Continuing work on the Polybar dGPU module. Switched from Pulseaudio to Pipewire.
Diffstat (limited to 'system/usr/system-maintenance')
-rwxr-xr-xsystem/usr/system-maintenance5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/usr/system-maintenance b/system/usr/system-maintenance
index d2918c6..f7a7051 100755
--- a/system/usr/system-maintenance
+++ b/system/usr/system-maintenance
@@ -1,4 +1,5 @@
#!/bin/bash
+# /usr/local/bin/system-maintenance
# Configuration
MARKER_FILE="/var/log/last_maintenance_timestamp"
@@ -14,7 +15,7 @@ if [ $((CURRENT_TIME - LAST_RUN)) -ge $INTERVAL ]; then
{
echo "-------------------------------------------"
echo "[$(date)] Starting weekly maintenance..."
-
+
# 1. Trim SSD
/usr/sbin/fstrim -v /
@@ -23,7 +24,7 @@ if [ $((CURRENT_TIME - LAST_RUN)) -ge $INTERVAL ]; then
# Update timestamp marker
touch "$MARKER_FILE"
-
+
echo "[$(date)] Maintenance complete."
} >> "$LOG_OUT" 2>&1
fi