Page MenuHomeFreeBSD

shutdown: Support time units as in 'shutdown -r +5sec'

Authored by gleb on Dec 6 2014, 7:59 AM.



Teach /sbin/shutdown about intervals less than a minute, while there add support for other time units: minutes and hours.

Rationale: let application initiate system shutdown "soon enough" while trying to exit gracefully. shutdown within short interval is of higher importance than graceful application exit.

Diff Detail

rS FreeBSD src repository - subversion
Lint Skipped
Unit Tests Skipped

Event Timeline

gleb retitled this revision from to shutdown: Support time units as in 'shutdown -r +5sec'.
gleb updated this object.
gleb edited the test plan for this revision. (Show Details)
gleb set the repository for this revision to rS FreeBSD src repository - subversion.

Remember to update the .Dd when the man page is committed.

122 ↗(On Diff #2657)

s/appending/appending the/

jhb added a reviewer: jhb.
jhb added a subscriber: jhb.

Looks fine to me with Warren's manpage suggestion.

This revision is now accepted and ready to land.Dec 15 2014, 5:00 PM
roberto added a reviewer: roberto.
roberto added a subscriber: roberto.

Looks fine to me. Thanks.

gleb updated this revision to Diff 2760.

Closed by commit rS275818 (authored by @gleb).