diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-09 14:32:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-09 14:32:54 -0300 |
commit | e158af4f951880a9f5ad516ea8ab69835e778b9f (patch) | |
tree | 15fa4ce207123eb1adf0883ed339aaaa50a3d08a | |
parent | 512aa73872075c7670823f742e97ea32bb0d6dd4 (diff) | |
download | termplex-e158af4f951880a9f5ad516ea8ab69835e778b9f.tar.gz termplex-e158af4f951880a9f5ad516ea8ab69835e778b9f.tar.bz2 |
Use DIRNAME to invoke wtmux an wscreen
-rwxr-xr-x | shell | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,11 +8,12 @@ # We're enforcing a random monitoring por for autossh # as some systems might deny reading /proc/net/tcp like # kernels with grsecurity patch. +DIRNAME="`dirname $0`" BASENAME="`basename $0`" DEST="$1" COMMAND="$2" -#LOCAL_MULTIPLEXER="wscreen" -LOCAL_MULTIPLEXER="wtmux" +#LOCAL_MULTIPLEXER="$DIRNAME/wscreen" +LOCAL_MULTIPLEXER="$DIRNAME/wtmux" MONITORING="-M $(($RANDOM + 1024))" AUTOSSH="autossh $MONITORING" |