Compare commits
2 Commits
c4e5ed1900
...
4aa1631e50
Author | SHA1 | Date | |
---|---|---|---|
4aa1631e50 | |||
6887350ce8 |
5
s3h.sh
5
s3h.sh
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# config
|
# config
|
||||||
DIALOG=dialog #gdialog kdialog
|
DIALOG=dialog #gdialog kdialog
|
||||||
START_DIR=''
|
START_DIR='~/.s3h'
|
||||||
|
|
||||||
if [[ $# -eq 1 && -d "$1" ]]; then
|
if [[ $# -eq 1 && -d "$1" ]]; then
|
||||||
START_DIR="$1"
|
START_DIR="$1"
|
||||||
@ -61,6 +61,9 @@ if [[ -f "$configFile" ]]; then
|
|||||||
para+=($configLine)
|
para+=($configLine)
|
||||||
done < "$configFile"
|
done < "$configFile"
|
||||||
|
|
||||||
|
# clear screen // remove dialog colors
|
||||||
|
clear
|
||||||
|
|
||||||
# execute ssh
|
# execute ssh
|
||||||
ssh ${para[@]} `basename "$configFile"`
|
ssh ${para[@]} `basename "$configFile"`
|
||||||
fi
|
fi
|
||||||
|
0
test/foo11/foo21/example.org
Normal file
0
test/foo11/foo21/example.org
Normal file
0
test/foo11/moep@devloop.de
Normal file
0
test/foo11/moep@devloop.de
Normal file
Loading…
x
Reference in New Issue
Block a user