diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2014-02-11 01:52:09 -0600 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2014-02-11 01:52:09 -0600 |
commit | 4341d9897dcc32d43fb85b371c106aea1f6f8747 (patch) | |
tree | fcc2fdef4e22fb3a555a796c31af80d7cbca6991 /bin | |
parent | 1d3d5bc2bef0233e78ecd83d01dc8e41e2620aae (diff) | |
download | couchdb-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-x | bin/remsh | 27 |
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). |