Update net.sh

This commit is contained in:
xykt
2025-09-18 15:45:04 +08:00
committed by GitHub
parent d71119e40e
commit ccbe7df185

2
net.sh
View File

@@ -1,5 +1,5 @@
#!/bin/bash
script_version="v2025-09-01"
script_version="v2025-09-18"
check_bash(){
current_bash_version=$(bash --version|head -n 1|awk '{for(i=1;i<=NF;i++) if ($i ~ /^[0-9]+\.[0-9]+(\.[0-9]+)?/) print $i}')
major_version=$(echo "$current_bash_version"|cut -d'.' -f1)