From 0acd10ae13fee5f8b78e3dc112055477729a78db Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Mon, 31 Dec 2018 17:23:19 +0000
Subject: [PATCH] readme no longer used

---
 src/freedombone-adduser | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/src/freedombone-adduser b/src/freedombone-adduser
index 5b60feb88..1f40a959b 100755
--- a/src/freedombone-adduser
+++ b/src/freedombone-adduser
@@ -210,24 +210,7 @@ if [ -f "/home/$ADD_USERNAME/.muttrc" ]; then
     fi
 fi
 
-if ! grep -q "Change your GPG password" "/home/$ADD_USERNAME/README"; then
-    { echo '';
-      echo '';
-      echo $'# Change your GPG password';
-      echo $"It's very important to add a password to your GPG key so that";
-      echo $"if anyone does get access to your email they still won't be able";
-      echo $'to read them without knowning the GPG password.';
-      echo $'You can change the it with:';
-      echo '';
-      echo "  gpg --edit-key $MY_GPG_PUBLIC_KEY_ID";
-      echo '  passwd';
-      echo '  save';
-      echo '  quit'; } >> "/home/$ADD_USERNAME/README"
-fi
-
-chown "$ADD_USERNAME":"$ADD_USERNAME" "/home/$ADD_USERNAME/README"
 chown "$ADD_USERNAME":"$ADD_USERNAME" "$MY_GPG_PUBLIC_KEY"
-chmod 600 "/home/$ADD_USERNAME/README"
 
 echo $'Detecting installed apps...'
 detect_apps
-- 
GitLab