Revert "ryzensun: use tee in initrd postCommand script"

This reverts commit 3dcb4045f5.
This commit is contained in:
teutat3s 2024-06-14 15:57:18 +02:00
parent 3dcb4045f5
commit 3f70d1c62a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -48,8 +48,7 @@ in {
};
postCommands = ''
# Automatically ask for the password on SSH login
echo 'cryptsetup-askpass || echo "Unlock was successful; exiting SSH session" && exit 1' \
| tee /root/.profile
echo 'cryptsetup-askpass || echo "Unlock was successful; exiting SSH session" && exit 1' >> /root/.profile
'';
};
};