Browse Source

Check that monkeysphere server keys exist

Bob Mottram 9 years ago
parent
commit
72ed2b2cc9
No account linked to committer's email
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-controlpanel-user

+ 4
- 0
src/freedombone-controlpanel-user View File

@@ -822,6 +822,10 @@ function menu_admin {
822 822
 }
823 823
 
824 824
 function sign_keys {
825
+	if [ ! -f /home/$USER/.monkeysphere/server_keys ]; then
826
+		return
827
+	fi
828
+
825 829
 	dialog --title $"Monkeysphere sign server keys" \
826 830
 		   --backtitle $"Freedombone Security Configuration" \
827 831
 		   --defaultno \