1
0
Fork 0
cryptsetup/debian/tests/cryptroot-lvm.d/postinst
Daniel Baumann 74b680e410
Adding debian version 2:2.7.5-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 10:45:48 +02:00

17 lines
506 B
Bash

mkdir /etc/systemd/system/systemd-suspend.service.d
cat >/etc/systemd/system/systemd-suspend.service.d/zz-cryptsetup-suspend-mock.conf <<-EOF
# override the command and don't call openvt(1) here since VT8 isn't
# available from the mocking logic -- we use /dev/console instead
[Service]
StandardInput=tty
StandardOutput=inherit
StandardError=inherit
TTYPath=/dev/console
TTYReset=yes
ExecStart=
ExecStart=/lib/cryptsetup/scripts/suspend/cryptsetup-suspend-wrapper
EOF
# vim: set filetype=sh :