[tunnel] added about section

:Release Notes:
-

:Detailed Notes:
-

:Testing Performed:
-

:QA Notes:
-

:Issues Addressed:
-
This commit is contained in:
Artur Mukhamadiev 2025-06-28 01:04:19 +03:00
parent 58c51672ca
commit 15caed95c1

16
tun.sh
View File

@ -4,7 +4,7 @@ version=0.1
idx=0
killFlag=0
endpoint="192.168.105.100"
user="vptyp"
user="$USER"
cacheFile=.tunLast
privateKeyLoc="~/.ssh/id_ecdsa"
override=0
@ -46,9 +46,19 @@ function usage {
"
}
function about {
echo "
${scriptName} ver.${version}
Setup with next settings:
started up under user: ${user}
endpoint: ${endpoint}
cacheFile: ${cacheFile}
"
}
while [[ "$1" =~ ^- && ! "$1" == "--" ]]; do case $1 in
-V | --version )
echo "$version"
-a | --about )
about
exit
;;
-k | --kill )