diff --git a/README.md b/README.md index 2f0b5b6..ca8f8a6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # inss 一款Android手机切换内网IP的shell script -仅仅支持LineageOS 15 +支持LineageOS 15、16 diff --git a/inss.sh b/inss.sh index 21b4d78..90259d8 100644 --- a/inss.sh +++ b/inss.sh @@ -15,7 +15,7 @@ function INIT_() { #填写自己的网卡. - NIC="rmnet_data0"; + NIC="rmnet_data1"; #网卡开启状态. NIC_STATUS="U"; @@ -82,7 +82,6 @@ function parameter_() { exit 1; fi done - } function ROOT_(){ @@ -169,7 +168,7 @@ function MAIN_ { done } - +INIT_ $@ while getopts :xc:h? l; do case ${l} in x) @@ -189,7 +188,6 @@ esac done shift $((OPTIND-1)); test "${debug}" = "x" && set -x; -INIT_ $@ parameter_ ${@}; MAIN_; exit $?;