#当出现安装过程中异常的重启时 直接开机直接进行修复操作
This commit is contained in:
parent
1d1d216117
commit
ea22c5c45e
|
@ -66,6 +66,9 @@ if __name__ == "__main__":
|
|||
logging.info('kylin-system-updater starting ...')
|
||||
|
||||
app = UpdateManager(options)
|
||||
# app.start_update()
|
||||
|
||||
#当出现安装过程中异常的重启时 直接开机直接进行修复操作
|
||||
if app.configs.getWithDefault("SystemStatus", "isabnormalreboot", False) == True:
|
||||
app.start_update()
|
||||
|
||||
app.run()
|
Loading…
Reference in New Issue