Compare commits
2 Commits
8b10b4b709
...
453a453f4f
Author | SHA1 | Date | |
---|---|---|---|
453a453f4f | |||
31b5e29c69 |
3
s3h.sh
3
s3h.sh
@ -3,7 +3,7 @@
|
|||||||
# config
|
# config
|
||||||
DIALOG=dialog #gdialog kdialog
|
DIALOG=dialog #gdialog kdialog
|
||||||
START_DIR='~/.s3h'
|
START_DIR='~/.s3h'
|
||||||
VERSION="1.3"
|
VERSION="1.4"
|
||||||
|
|
||||||
# TODO: use opt parsing
|
# TODO: use opt parsing
|
||||||
if [[ $# -eq 1 && "$1" == "-v" ]]; then
|
if [[ $# -eq 1 && "$1" == "-v" ]]; then
|
||||||
@ -96,5 +96,6 @@ if [[ -f "$configFile" ]]; then
|
|||||||
echo "config file '$configFile' selected. connecting..."
|
echo "config file '$configFile' selected. connecting..."
|
||||||
|
|
||||||
# execute ssh
|
# execute ssh
|
||||||
|
echo "Running 'ssh ${para[@]} `basename \"$configFile\"`'"
|
||||||
ssh ${para[@]} `basename "$configFile"`
|
ssh ${para[@]} `basename "$configFile"`
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user