Updated shutdown to check if time has lapsed when we did not

notice. For example if the computer was in sleep mode pending
a shutdown. The shutdown command now notices time has past
and adjusts its countdown clock to compensate. Accurate
to the nearest minute.
Closes Savannah bug #36279
This commit is contained in:
Jesse Smith
2018-04-04 23:12:25 -03:00
parent d9b6475d85
commit a4508479f5
2 changed files with 29 additions and 3 deletions

View File

@@ -6,6 +6,12 @@ sysvinit (2.90) UNRELEASED; urgency=low
comparison so the latter is wrote_utmp_rlevel.
* Simplified logic in mountpoint.c when testing for same device or same inode.
Thanks to David Binderman for pointing out the above three issues.
* When we run shutdown and then the computer is put to sleep, the
shutdown command recognizes time has passed and continues its
countdown taking the time lapse into consideration. This prevents
longer waits if we slept past the time we should have shutdown.
Accurate to the nearest minute.
Closes Savannah bug #36279.
sysvinit (2.89) world; urgency=low