tmp.mount reports as static on Trixie

This commit is contained in:
frederik
2025-10-18 10:51:21 +02:00
parent 6b7c3382c6
commit 6428635a33
+1 -1
View File
@@ -63,7 +63,7 @@ EOF
}
install_tmp_mount() {
STATE=$(systemctl is-enabled tmp.mount 2>&1 | grep -E '(enabled|disabled)')
STATE=$(systemctl is-enabled tmp.mount 2>&1 | grep -E '(enabled|disabled|static)')
! [ -f /usr/share/systemd/tmp.mount ] && echo "Warning: no /usr/share/systemd/tmp.mount found"
if [ -z $STATE ]; then
cp -f /usr/share/systemd/tmp.mount /etc/systemd/system/tmp.mount