aboutsummaryrefslogtreecommitdiffhomepage
path: root/conf
diff options
context:
space:
mode:
authorGravatar Keith Winstein <keithw@mit.edu>2012-05-23 05:31:56 -0400
committerGravatar Keith Winstein <keithw@mit.edu>2012-05-23 06:08:45 -0400
commita7818c612c4908aa74b44b4e5163fe9f91fd424a (patch)
tree1eccbd5fafab38223d07d6a5fe758f030edcbe71 /conf
parenteda48085ba7d624687289f15d970aec593fe1b59 (diff)
Install bash_completion rule and (optionally) UFW firewall profile
Diffstat (limited to 'conf')
-rw-r--r--conf/Makefile.am9
-rw-r--r--conf/bash_completion.d/mosh1
-rw-r--r--conf/ufw/applications.d/mosh4
3 files changed, 14 insertions, 0 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am
new file mode 100644
index 0000000..cb45ecd
--- /dev/null
+++ b/conf/Makefile.am
@@ -0,0 +1,9 @@
+nobase_dist_sysconf_DATA =
+
+if INSTALL_UFW
+ nobase_dist_sysconf_DATA += ufw/applications.d/mosh
+endif
+
+if INSTALL_COMPLETION
+ nobase_dist_sysconf_DATA += bash_completion.d/mosh
+endif
diff --git a/conf/bash_completion.d/mosh b/conf/bash_completion.d/mosh
new file mode 100644
index 0000000..93768d3
--- /dev/null
+++ b/conf/bash_completion.d/mosh
@@ -0,0 +1 @@
+complete -F _known_hosts mosh
diff --git a/conf/ufw/applications.d/mosh b/conf/ufw/applications.d/mosh
new file mode 100644
index 0000000..50ba388
--- /dev/null
+++ b/conf/ufw/applications.d/mosh
@@ -0,0 +1,4 @@
+[mosh]
+title=Mosh (mobile shell)
+description=Mobile shell that supports roaming and intelligent local echo
+ports=60000:61000/udp