forked from x/ContextOS
add cli default script
This commit is contained in:
parent
1ca7a7875d
commit
ba40bd9289
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user