Skip to content

Commit

Permalink
Merge pull request #66 from xingkongwangbin/main
Browse files Browse the repository at this point in the history
去掉时区
  • Loading branch information
ks-bao authored May 8, 2024
2 parents 73f7cb2 + f2f641f commit d5e1c51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@

-- 定义luci.controller.feishuvpn模块
module("luci.controller.feishuvpn", package.seeall)

-- index函数:配置FeiShuVpn的管理界面入口
function index()
-- 创建admin/services/feishuvpn目录下的入口,重定向到config页面
-- dependent = true表示该入口依赖于其他服务
entry({"admin", "services", "feishuvpn"}, alias("admin", "services", "feishuvpn", "config"), _("FeiShuVpn"), 30).dependent = true

-- 创建admin/services/feishuvpn/config页面,用于配置FeiShuVpn
entry({"admin", "services", "feishuvpn", "config"}, cbi("feishuvpn"))
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ do_install() {
--dns=127.0.0.1 \
--network=host "

local tz="`uci get system.@system[0].zonename | sed 's/ /_/g'`"
[ -z "$tz" ] || cmd="$cmd -e TZ=$tz"
# local tz="`uci get system.@system[0].zonename | sed 's/ /_/g'`"
# [ -z "$tz" ] || cmd="$cmd -e TZ=$tz"

cmd="$cmd -v /mnt:/mnt"
mountpoint -q /mnt && cmd="$cmd:rslave"
Expand Down

0 comments on commit d5e1c51

Please sign in to comment.