新增vpn
This commit is contained in:
parent
f091de80f1
commit
7a3ba944c5
@ -14,4 +14,10 @@ for i in "${!vpn_array[@]}";do
|
|||||||
vpn_number=$((vpn_number+1))
|
vpn_number=$((vpn_number+1))
|
||||||
done
|
done
|
||||||
read -p "请输入要选择的序号:" vpn_pick
|
read -p "请输入要选择的序号:" vpn_pick
|
||||||
vpn_array[${vpn_number[$vpn_pick]}]
|
|
||||||
|
if [[ -z ${vpn_array[${vpn_number[$vpn_pick]}]} ]];then
|
||||||
|
echo "输入错误"
|
||||||
|
else
|
||||||
|
echo "${vpn_array[${vpn_number[$vpn_pick]}]}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user