1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00

add cli default script

This commit is contained in:
shaoying 2018-07-30 01:59:29 +08:00
parent 1ca7a7875d
commit ba40bd9289

View File

@ -167,6 +167,9 @@ func (cli *CLI) Start(m *ctx.Message, arg ...string) bool { // {{{
msg.Result(0, msg.Meta["return"])
} else {
m.Spawn().Cmd("alias", "import", "nfs")
m.Spawn().Cmd("login", "root", "root")
m.Spawn().Cmd("context", "web", "serve", "usr", ":9094")
m.Spawn().Cmd("context", "web", "right", "add", "shy", "command", "/upload", "dir", "usr")
}
}
return false