Compare commits
No commits in common. "4aa1631e50be808a0e541028b9d4ccc5055fe35c" and "c4e5ed19007a34a2d1c125008f15a7658b31f729" have entirely different histories.
4aa1631e50
...
c4e5ed1900
5
s3h.sh
5
s3h.sh
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# config
|
# config
|
||||||
DIALOG=dialog #gdialog kdialog
|
DIALOG=dialog #gdialog kdialog
|
||||||
START_DIR='~/.s3h'
|
START_DIR=''
|
||||||
|
|
||||||
if [[ $# -eq 1 && -d "$1" ]]; then
|
if [[ $# -eq 1 && -d "$1" ]]; then
|
||||||
START_DIR="$1"
|
START_DIR="$1"
|
||||||
@ -61,9 +61,6 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user