summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2014-02-11 01:52:09 -0600
committerPaul J. Davis <paul.joseph.davis@gmail.com>2014-02-11 01:52:09 -0600
commit4341d9897dcc32d43fb85b371c106aea1f6f8747 (patch)
treefcc2fdef4e22fb3a555a796c31af80d7cbca6991 /bin
parent1d3d5bc2bef0233e78ecd83d01dc8e41e2620aae (diff)
downloadcouchdb-4341d9897dcc32d43fb85b371c106aea1f6f8747.tar.gz
Update license headers
Add headers where necessary and add lines to license.skip when they're not necessary.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/remsh27
1 files changed, 0 insertions, 27 deletions
diff --git a/bin/remsh b/bin/remsh
deleted file mode 100755
index 2d06b3792..000000000
--- a/bin/remsh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env escript
-%%! -hidden -noshell -noinput
-
-main(_) ->
- net_kernel:start([me(), shortnames]),
- case net_adm:ping(couchdb()) of
- pong ->
- Shell = user_drv:start(['tty_sl -c -e',{couchdb(),shell,start,[]}]),
- Ref = erlang:monitor(process, Shell),
- receive
- {'DOWN', Ref, _, _, _} -> ok
- end,
- halt(0);
- _ ->
- io:format("Error connection to: ~s", [couchdb()]),
- halt(1)
- end.
-
-
-me() ->
- Localhost = net_adm:localhost(),
- list_to_atom("couchdb_remsh" ++ os:getpid() ++ "@" ++ Localhost).
-
-
-couchdb() ->
- Localhost = net_adm:localhost(),
- list_to_atom("couchdb@" ++ Localhost).