mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-13 16:32:23 +00:00
Update auto_post_install.sh
This commit is contained in:
parent
c5c06a08ba
commit
5890e46db3
@ -1042,7 +1042,7 @@ USED_KB=$(df /var/log --output=used | tail -1)
|
|||||||
THRESHOLD=$(( LIMIT_KB * 90 / 100 ))
|
THRESHOLD=$(( LIMIT_KB * 90 / 100 ))
|
||||||
|
|
||||||
if (( USED_KB > THRESHOLD )); then
|
if (( USED_KB > THRESHOLD )); then
|
||||||
/usr/sbin/log2ram write
|
$(command -v log2ram) write
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user