|
@@ -15,8 +15,8 @@ import (
|
|
|
|
|
|
//InitShowSysInformation xxx
|
|
|
func SystemInfoInit() {
|
|
|
- systemWideLogger.PrintAndLog("Main", "Operation System: "+runtime.GOOS, nil)
|
|
|
- systemWideLogger.PrintAndLog("Main", "System Architecture: "+runtime.GOARCH, nil)
|
|
|
+ systemWideLogger.PrintAndLog("System", "Operation System: "+runtime.GOOS, nil)
|
|
|
+ systemWideLogger.PrintAndLog("System", "System Architecture: "+runtime.GOARCH, nil)
|
|
|
|
|
|
//Updates 5 Dec 2020, Added permission router
|
|
|
router := prout.NewModuleRouter(prout.RouterOption{
|
|
@@ -139,7 +139,7 @@ func SystemInfoInit() {
|
|
|
execute, _ := common.Mv(r, "exec", true)
|
|
|
if execute == "true" && r.Method == http.MethodPost {
|
|
|
//Do the update
|
|
|
- systemWideLogger.PrintAndLog("Main", "REQUESTING LAUNCHER FOR UPDATE RESTART", nil)
|
|
|
+ systemWideLogger.PrintAndLog("System", "REQUESTING LAUNCHER FOR UPDATE RESTART", nil)
|
|
|
executeShutdownSequence()
|
|
|
common.SendOK(w)
|
|
|
} else if execute == "true" {
|