mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-13 09:37:13 +03:00
bookworm tcsd wants /etc/tcsd.conf root:tss
This commit is contained in:
parent
39c3201f63
commit
d51d8a3c86
@ -15,7 +15,7 @@
|
||||
|
||||
if [ -e /etc/tcsd.conf ]; then
|
||||
INST_CFG /etc/tcsd.conf
|
||||
chown tss:tss "${TARGET_DIR:-MUST_EXIST}/etc/tcsd.conf"
|
||||
chown root:tss "${TARGET_DIR:-MUST_EXIST}/etc/tcsd.conf"
|
||||
system_ps_file="$(awk -F '[[:space:]]*=[[:space:]]*' '!/^[[:space:]]*#/ && !/^$/ && $1 ~ /system_ps_file$/ {gsub(/[[:space:]]*$/, "", $2); print $2}' /etc/tcsd.conf)"
|
||||
system_ps_file="${system_ps_file:-/var/lib/tpm/system.data}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user