summaryrefslogtreecommitdiff
path: root/cokiki.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-04-26 14:14:14 -0400
committerjoe <joe@jerkface.net>2016-04-26 14:14:14 -0400
commit52046c0bff320c9dbb5ca30f64d8fc6738e3d7fe (patch)
tree0f63dd7e2cacdca2a73969adb4e4473d6ff9815b /cokiki.hs
parent77ce972b8293b50ebe076c39dfe099aeaa1c5086 (diff)
updated help text.
Diffstat (limited to 'cokiki.hs')
-rw-r--r--cokiki.hs32
1 files changed, 24 insertions, 8 deletions
diff --git a/cokiki.hs b/cokiki.hs
index 97b4f9a..c93e30e 100644
--- a/cokiki.hs
+++ b/cokiki.hs
@@ -15,18 +15,34 @@ import System.Posix.User
15import CommandLine 15import CommandLine
16 16
17usage = unlines 17usage = unlines
18 [ "cokiki <command> [--chroot=ROOTDIR] [--homedir=HOMEDIR] [--passphrase-fd=FD]" 18 [ "cokiki <command> [--chroot=ROOTDIR]"
19 , " [--homedir=HOMEDIR]"
20 , " [--passphrase-fd=FD]"
21 , ""
22 , "cokiki modifies system configuration to recognize generated files"
23 , "in /var/cache/kiki. In addition to each command's documented effects"
24 , "(see COMMANDS), the following operation will be performed on your"
25 , "GnuPG keyring:"
26 , ""
27 , " master-key (generated if not present)"
28 , " tor (generated if not prsenet)"
29 , " ipsec (generated if not prsenet)"
30 , " ssh-server (imported or generated if not present)"
31 , " ssh-client (imported or gnnerated if not present)"
32 , ""
33 , "The /var/cache/kiki/* tree will also be refreshed."
19 , "" 34 , ""
20 , "COMMANDS" 35 , "COMMANDS"
21 , "" 36 , ""
22 , " ssh-client" 37 , " ssh-client Modify system ssh configuration to respect"
23 , " 1) Modify system ssh configuration to respect /var/cache/kiki/ssh_known_hosts." 38 , " /var/cache/kiki/ssh_known_hosts."
24 , " 2) Set kiki ssh-server key to /etc/ssh/ssh_host_rsa_key. If kiki already has" 39 , ""
25 , " an ssh-server key configured, it will be replaced." 40 , " ssh-server Modify system ssh configuration to use the"
26 , " 3) Refresh /var/cache/kiki/*" 41 , " kiki-managed host key at"
42 , " /var/cache/kiki/ssh_host_rsa_key."
27 , "" 43 , ""
28 , " ssh-server: TODO" 44 , " strongswan Modify /etc/ipsec.conf to include settings from"
29 , " strongswan: TODO" 45 , " /var/cache/kiki/ipsec.conf."
30 ] 46 ]
31 47
32main = do 48main = do