aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-09 16:03:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-10-09 16:03:19 -0300
commit777ce6973d8aa569db0fe4ebe36761747392d9c7 (patch)
treed262b03c902e5cdd22ea69312a6f641c9650bb15
parente158af4f951880a9f5ad516ea8ab69835e778b9f (diff)
downloadtermplex-777ce6973d8aa569db0fe4ebe36761747392d9c7.tar.gz
termplex-777ce6973d8aa569db0fe4ebe36761747392d9c7.tar.bz2
Revert "Use DIRNAME to invoke wtmux an wscreen"
This reverts commit e158af4f951880a9f5ad516ea8ab69835e778b9f.
-rwxr-xr-xshell5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell b/shell
index b3ebdfc..c5612dc 100755
--- a/shell
+++ b/shell
@@ -8,12 +8,11 @@
# 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="$DIRNAME/wscreen"
-LOCAL_MULTIPLEXER="$DIRNAME/wtmux"
+#LOCAL_MULTIPLEXER="wscreen"
+LOCAL_MULTIPLEXER="wtmux"
MONITORING="-M $(($RANDOM + 1024))"
AUTOSSH="autossh $MONITORING"