| ... | ... | --- a/0035-exit-and-reboot-buttons-in-final-spoke.patch |
| ... | ... | +++ b/0035-exit-and-reboot-buttons-in-final-spoke.patch |
| ... | ... | @@ -31,7 +31,7 @@ index cefe684..fac920a 100755 |
| 31 | 31 |
+ # Reboot the system.
|
| 32 | 32 |
+ from pyanaconda.core.util import get_installation_status
|
| 33 | 33 |
+ status = get_installation_status()
|
| 34 |
+ if status["reboot"] and status["over"]:
|
|
| 34 |
+ if conf.system.can_reboot and ((status["reboot"] and status["over"]) or rebootData.action is not None):
|
|
| 35 | 35 |
from pykickstart.constants import KS_SHUTDOWN, KS_WAIT
|
| 36 | 36 |
|
| 37 | 37 |
if flags.eject or rebootData.eject:
|
New comment