From 3f70d1c62a103303c4c89dc6c641624a0c0a600a Mon Sep 17 00:00:00 2001 From: teutat3s Date: Fri, 14 Jun 2024 15:57:18 +0200 Subject: [PATCH] Revert "ryzensun: use tee in initrd postCommand script" This reverts commit 3dcb4045f5030c2ded5137daaa22d65ff5f5d441. --- hosts/ryzensun/ryzensun.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/ryzensun/ryzensun.nix b/hosts/ryzensun/ryzensun.nix index 71412c54..d26444f3 100644 --- a/hosts/ryzensun/ryzensun.nix +++ b/hosts/ryzensun/ryzensun.nix @@ -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 ''; }; };