diff --git a/base/cli/runtime.go b/base/cli/runtime.go index 27fedf26..c68b49d7 100644 --- a/base/cli/runtime.go +++ b/base/cli/runtime.go @@ -74,7 +74,7 @@ func _runtime_hostinfo(m *ice.Message) { m.Push("uptime", kit.Split(m.Cmdx(SYSTEM, "uptime"), ice.FS)[0]) } func _runtime_diskinfo(m *ice.Message) { - m.Spawn().Split(m.Cmdx(SYSTEM, "df", "-h"), "", ice.SP, ice.NL).Table(func(index int, value map[string]string, head []string) { + m.Spawn().Split(kit.Replace(m.Cmdx(SYSTEM, "df", "-h"), "Mounted on", "Mountedon"), "", ice.SP, ice.NL).Table(func(index int, value map[string]string, head []string) { if strings.HasPrefix(value["Filesystem"], "/dev") { m.Push("", value, head) } diff --git a/core/wiki/video.go b/core/wiki/video.go index 58398b18..0787dfcb 100644 --- a/core/wiki/video.go +++ b/core/wiki/video.go @@ -32,8 +32,8 @@ func init() { }}, }, Configs: map[string]*ice.Config{ VIDEO: {Name: "video", Help: "视频", Value: kit.Data( - nfs.TEMPLATE, ``, nfs.PATH, ice.USR_LOCAL_IMAGE, + nfs.TEMPLATE, ``, )}, }}) }