1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

will this make console.sh for non-upgraded persistent consoles?

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-02-02 14:05:18 +00:00
parent ff448b0b96
commit 5cd881b791
2 changed files with 13 additions and 0 deletions

View File

@@ -30,7 +30,18 @@ type symlink struct {
oldname, newname string
}
func ConsoleInitMain() {
err := consoleInitFunc()
if err != nil {
log.Fatal(err)
}
}
func consoleInitAction(c *cli.Context) error {
return consoleInitFunc()
}
func consoleInitFunc() error {
cfg := config.LoadConfig()
// Now that we're booted, stop writing debug messages to the console