From 6340a7ef31478571aa56892c45b26fc52067a25b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Sep 2014 15:11:25 +0100 Subject: [PATCH] Use batch --- install-freedombone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 4af9703c..7c3fcbf4 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -872,7 +872,7 @@ function configure_gpg { echo '%commit' >> /home/$MY_USERNAME/gpg-genkey.conf echo '%echo Done' >> /home/$MY_USERNAME/gpg-genkey.conf chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/gpg-genkey.conf - su - $MY_USERNAME gpg --gen-key /home/$MY_USERNAME/gpg-genkey.conf + su - $MY_USERNAME gpg --batch --gen-key /home/$MY_USERNAME/gpg-genkey.conf shred -zu /home/$MY_USERNAME/gpg-genkey.conf fi