diff --git a/applications/luci-app-wxedge/luasrc/controller/wxedge.lua b/applications/luci-app-wxedge/luasrc/controller/wxedge.lua index f0ca68d..e0a103f 100755 --- a/applications/luci-app-wxedge/luasrc/controller/wxedge.lua +++ b/applications/luci-app-wxedge/luasrc/controller/wxedge.lua @@ -2,7 +2,7 @@ module("luci.controller.wxedge", package.seeall) function index() - entry({'admin', 'services', 'wxedge'}, alias('admin', 'services', 'wxedge', 'client'), _('Wxedge'), 10) + entry({'admin', 'services', 'wxedge'}, alias('admin', 'services', 'wxedge', 'client'), _('wxedge'), 10) entry({"admin", "services", "wxedge",'client'}, cbi("wxedge/status"), nil).leaf = true entry({"admin", "services", "wxedge","status"}, call("get_container_status")) diff --git a/applications/luci-app-wxedge/po/zh-cn/wxedge.po b/applications/luci-app-wxedge/po/zh-cn/wxedge.po index 6c0a486..0aa944d 100644 --- a/applications/luci-app-wxedge/po/zh-cn/wxedge.po +++ b/applications/luci-app-wxedge/po/zh-cn/wxedge.po @@ -1,25 +1,28 @@ -msgid "The Wxedge service is running." +msgid "wxedge" +msgstr "网心云" + +msgid "The wxedge service is running." msgstr "网心云已启动" -msgid "The Wxedge service is not running." +msgid "The wxedge service is not running." msgstr "网心云服务未启动" -msgid "The Wxedge service is not installed." +msgid "The wxedge service is not installed." msgstr "网心云服务未安装" -msgid "open Wxedge" +msgid "open wxedge" msgstr "打开网心云" -msgid "stop Wxedge" +msgid "stop wxedge" msgstr "停止网心云" -msgid "run Wxedge" +msgid "run wxedge" msgstr "启动网心云" -msgid "uninstall Wxedge" +msgid "uninstall wxedge" msgstr "删除网心云" -msgid "install Wxedge" +msgid "install wxedge" msgstr "安装网心云" msgid "Collecting data..." diff --git a/applications/luci-app-wxedge/root/etc/config/wxedge b/applications/luci-app-wxedge/root/etc/config/wxedge index 32f8167..e4334e7 100644 --- a/applications/luci-app-wxedge/root/etc/config/wxedge +++ b/applications/luci-app-wxedge/root/etc/config/wxedge @@ -1,3 +1,3 @@ config wxedge - option 'image' 'registry.cn-hangzhou.aliyuncs.com/onething/wxedge' + option 'image' 'registry.cn-hangzhou.aliyuncs.com/onething/wxedge:latest' option 'cache_path' '/wxedge' diff --git a/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh b/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh index 7804352..de619c7 100755 --- a/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh +++ b/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh @@ -12,8 +12,7 @@ install(){ exit 1 fi - docker run -d --name wxedge -e PLACE=CTKS --privileged --network=host --tmpfs /run --tmpfs /tmp -v "$cache:/storage:rw" --restart=always "$image_name" - + docker run -d --name wxedge -e PLACE=CTKS --privileged --network=host --tmpfs /run --tmpfs /tmp -v $cache:/storage:rw --restart=always $image_name }