From 39930153c9f3bb00f7b956da5e1a9f2afeea0870 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Fri, 1 Aug 2025 07:25:44 +0200 Subject: [PATCH] Update customizable_post_install.sh --- scripts/post_install/customizable_post_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post_install/customizable_post_install.sh b/scripts/post_install/customizable_post_install.sh index 6dc4ce1..2c93ab8 100644 --- a/scripts/post_install/customizable_post_install.sh +++ b/scripts/post_install/customizable_post_install.sh @@ -3047,7 +3047,7 @@ LIMIT_KB=$(grep '^SIZE=' "$CONF_FILE" | cut -d'=' -f2 | tr -d 'M')000 USED_KB=$(df /var/log --output=used | tail -1) THRESHOLD=$(( LIMIT_KB * 90 / 100 )) if (( USED_KB > THRESHOLD )); then - /usr/sbin/log2ram write + $(command -v log2ram) write fi EOF chmod +x /usr/local/bin/log2ram-check.sh