diff --git a/scripts/post_install/auto_post_install.sh b/scripts/post_install/auto_post_install.sh index eaaf3a5..ad869df 100644 --- a/scripts/post_install/auto_post_install.sh +++ b/scripts/post_install/auto_post_install.sh @@ -1042,7 +1042,7 @@ 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