diff --git a/be3600.sh b/be3600.sh index 4f69ade..d37be60 100644 --- a/be3600.sh +++ b/be3600.sh @@ -94,9 +94,7 @@ while true; do echo light_magenta " 7. 安装个性化UI辅助插件(by VMatrices)" echo - light_magenta " 8. 安装高级卸载插件" - echo - light_magenta " 9. 恢复出厂设置/重置路由器" + light_magenta " 8. 恢复出厂设置/重置路由器" echo echo " Q. 退出本程序" echo @@ -125,9 +123,6 @@ while true; do do_install_ui_helper ;; 8) - advanced_uninstall - ;; - 9) recovery ;; q | Q) diff --git a/be6500.sh b/be6500.sh index be6f960..861f1ed 100644 --- a/be6500.sh +++ b/be6500.sh @@ -92,11 +92,9 @@ while true; do echo light_magenta " 6. 安装个性化UI辅助插件(by VMatrices)" echo - light_magenta " 7. 安装高级卸载插件" + light_magenta " 7. 安装新首页" echo - light_magenta " 8. 安装新首页" - echo - light_magenta " 9. 恢复出厂设置" + light_magenta " 8. 恢复出厂设置" echo echo " Q. 退出本程序" echo @@ -122,12 +120,9 @@ while true; do do_install_ui_helper ;; 7) - advanced_uninstall - ;; - 8) do_install_new_quickstart ;; - 9) + 8) recovery ;; q | Q) diff --git a/be9300.sh b/be9300.sh index 5fabe3b..39ee311 100644 --- a/be9300.sh +++ b/be9300.sh @@ -92,11 +92,9 @@ while true; do echo light_magenta " 6. 安装个性化UI辅助插件(by VMatrices)" echo - light_magenta " 7. 安装高级卸载插件" + light_magenta " 7. 安装新首页" echo - light_magenta " 8. 安装新首页" - echo - light_magenta " 9. 恢复出厂设置" + light_magenta " 8. 恢复出厂设置" echo echo " Q. 退出本程序" echo @@ -122,12 +120,9 @@ while true; do do_install_ui_helper ;; 7) - advanced_uninstall - ;; - 8) do_install_new_quickstart ;; - 9) + 8) recovery ;; q | Q) diff --git a/gl-inet-op24.sh b/gl-inet-op24.sh index e01c235..c87ce3c 100644 --- a/gl-inet-op24.sh +++ b/gl-inet-op24.sh @@ -146,7 +146,6 @@ while true; do echo " 4. 安装文件管理器" light_magenta " 5. 隐藏首页非必要UI元素" light_magenta " 6. 安装个性化UI辅助插件(by VMatrices)" - light_magenta " 7. 安装高级卸载插件" echo echo " Q. 退出本程序" echo @@ -179,9 +178,6 @@ while true; do 6) do_install_ui_helper ;; - 7) - advanced_uninstall - ;; q | Q) echo "退出" exit 0 diff --git a/gl-inet.sh b/gl-inet.sh index 2885f64..f232136 100755 --- a/gl-inet.sh +++ b/gl-inet.sh @@ -241,8 +241,7 @@ while true; do light_magenta "11. MT3000一键更换分区" light_magenta "12. 隐藏首页非必要UI元素" light_magenta "13. 安装个性化UI辅助插件(by VMatrices)" - light_magenta "14. 安装高级卸载插件" - light_magenta "15. 更新脚本" + light_magenta "14. 更新脚本" echo echo " Q. 退出本程序" echo @@ -297,9 +296,6 @@ while true; do do_install_ui_helper ;; 14) - advanced_uninstall - ;; - 15) update_myself ;; q | Q) diff --git a/lib/lib-common.sh b/lib/lib-common.sh index bd4afaf..85928f3 100644 --- a/lib/lib-common.sh +++ b/lib/lib-common.sh @@ -337,31 +337,6 @@ do_install_ui_helper() { opkg install "$ipk_file" } -# ============================================================================ -# 高级卸载插件 -# ============================================================================ -advanced_uninstall() { - opkg update >/dev/null 2>&1 && opkg install bash || echo "bash 已存在" - - if ! opkg list-installed | grep -q "luci-lua-runtime"; then - echo "📥 正在下载 luci-lua-runtime 依赖..." - wget -O /tmp/luci-lua-runtime.ipk "https://repo.istoreos.com/repo/all/compat/luci-lua-runtime_0.00-r0_all.ipk" || { - echo "❌ 下载 luci-lua-runtime 失败" - return 1 - } - opkg install /tmp/luci-lua-runtime.ipk || { - echo "❌ 安装 luci-lua-runtime 失败" - return 1 - } - rm -f /tmp/luci-lua-runtime.ipk - echo "✅ luci-lua-runtime 安装成功" - fi - - echo "📥 正在下载高级卸载插件..." - wget -O /tmp/advanced_uninstall.run $HTTP_HOST/uninstall/luci-app-uninstall.run - sh /tmp/advanced_uninstall.run -} - # ============================================================================ # 恢复出厂设置 # ============================================================================ diff --git a/mt3600.sh b/mt3600.sh index b1f8911..ff3756f 100644 --- a/mt3600.sh +++ b/mt3600.sh @@ -109,9 +109,7 @@ while true; do echo light_magenta " 6. 安装个性化UI辅助插件(by VMatrices)" echo - light_magenta " 7. 安装高级卸载插件" - echo - light_magenta " 8. 恢复出厂设置/重置路由器" + light_magenta " 7. 恢复出厂设置/重置路由器" echo echo " Q. 退出本程序" echo @@ -137,9 +135,6 @@ while true; do do_install_ui_helper ;; 7) - advanced_uninstall - ;; - 8) recovery ;; q | Q) diff --git a/mt5000.sh b/mt5000.sh index 22ad33c..97b2165 100644 --- a/mt5000.sh +++ b/mt5000.sh @@ -109,9 +109,7 @@ while true; do echo light_magenta " 6. 安装个性化UI辅助插件(by VMatrices)" echo - light_magenta " 7. 安装高级卸载插件" - echo - light_magenta " 8. 恢复出厂设置/重置路由器" + light_magenta " 7. 恢复出厂设置/重置路由器" echo echo " Q. 退出本程序" echo @@ -137,9 +135,6 @@ while true; do do_install_ui_helper ;; 7) - advanced_uninstall - ;; - 8) recovery ;; q | Q) diff --git a/mudi7.sh b/mudi7.sh index 1cedcbe..b1cbfc9 100644 --- a/mudi7.sh +++ b/mudi7.sh @@ -107,9 +107,7 @@ while true; do echo light_magenta " 5. 安装个性化UI辅助插件(by VMatrices)" echo - light_magenta " 6. 安装高级卸载插件" - echo - light_magenta " 7. 恢复出厂设置/重置路由器" + light_magenta " 6. 恢复出厂设置/重置路由器" echo echo " Q. 退出本程序" echo @@ -132,9 +130,6 @@ while true; do do_install_ui_helper ;; 6) - advanced_uninstall - ;; - 7) recovery ;; q | Q)