閱讀129 返回首頁    go iPhone_iPad_Mac_apple


開發版 2.23.64 Misstar tools無法使用解決方案

本人小白一個,這次解決主要借鑒這個大神的帖子


Misstar tools 好像不能用了,提供一個臨時解決辦法。

https://bbs.xiaomi.cn/t-14166902

(出自小米官方社區)


我隻是把大神沒說的東西理出來給和我一樣的小白看下


命令如下:


第一步:

cd /usr/lib/lua/luci/controller/web 回車

vi index2.lua 回車


第二步

按insert


第三步

複製文件內容輸入

module("luci.controller.web.index2", package.seeall)

function index()

    local page   = node("web","misstar")

        page.target  = firstchild()

        page.title   = ("")

        page.order   = 100

        page.sysauth = "admin"

        page.sysauth_authenticator = "jsonauth"

        page.index = true

        entry({"web", "misstar", "index"}, template("web/setting/misstar/index"), _("Tools"), 81)

        entry({"web", "misstar", "add"}, template("web/setting/misstar/add"), _("Tools"), 82)

        entry({"web", "misstar"}, alias("web","misstar","index"), _("Tools"), 80)

        entry({"web", "misstar", "ss"}, template("web/setting/applications/ss/html/ss"), _("Tools"), 85)

end 

回車


第四步

按"esc",按":"<----冒號

輸入wq 回車


第五步

cd /root 回車

rm -rf /tmp/luci-indexcache /tmp/luci-modulecache/* 回車


第一次發技術貼,雖然也沒什麼技術了,大家包涵啊


打開https://ssstk.tk 注冊領取免費shadowsocks賬號 吃雞 看油管 1080P 完全無壓力


不懂你在說什麼


什麼啊

最後更新:2018-01-13 17:29:29

  上一篇:go 小米路由器3電流聲大
  下一篇:go Xiaomi Router 3G