show selected config (was cleared prior)
This commit is contained in:
parent
8429669cdc
commit
cad3690da3
3
s3h.sh
3
s3h.sh
@ -51,8 +51,6 @@ while [[ -z "$configFile" ]]; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "config file '$configFile' selected. connecting..."
|
|
||||||
|
|
||||||
# read config file and connect
|
# read config file and connect
|
||||||
if [[ -f "$configFile" ]]; then
|
if [[ -f "$configFile" ]]; then
|
||||||
# each line equals one config option
|
# each line equals one config option
|
||||||
@ -63,6 +61,7 @@ if [[ -f "$configFile" ]]; then
|
|||||||
|
|
||||||
# clear screen // remove dialog colors
|
# clear screen // remove dialog colors
|
||||||
clear
|
clear
|
||||||
|
echo "config file '$configFile' selected. connecting..."
|
||||||
|
|
||||||
# execute ssh
|
# execute ssh
|
||||||
ssh ${para[@]} `basename "$configFile"`
|
ssh ${para[@]} `basename "$configFile"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user