Browse Source

sshscreen: refactor

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 10 years ago
parent
commit
8e0fd4a4ce
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      files/bin/sshscreen

+ 4
- 3
files/bin/sshscreen

@ -1,5 +1,6 @@
#!/bin/sh
ServerAliveInterval=15
exec sshloop -t -o "ServerAliveInterval=$ServerAliveInterval" \
"$@" exec screen -dRU
set -- -t -o ServerAliveInterval=15 "$@"
cmd='exec screen -dRU'
exec sshloop "$@" "$cmd"

Loading…
Cancel
Save