Browse Source

add script for cron

pull/126/head
butlerx 8 years ago
parent
commit
a19e0119d6
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 1
      bin/cleanup
  2. 3
      public/wetty/wetty.js

1
bin/cleanup

@ -0,0 +1 @@
kill $(ps aux | grep "ssh" | awk '{print $2}')

3
public/wetty/wetty.js

@ -43,8 +43,7 @@ socket.on('connect', function() {
row: term.screenSize.height row: term.screenSize.height
}); });
if (buf && buf != '') if (buf && buf != '') {
{
term.io.writeUTF16(buf); term.io.writeUTF16(buf);
buf = ''; buf = '';
} }

Loading…
Cancel
Save