Mike DePaulo on 13 Jan 2017 04:32:33 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Updated: shutdown 2.0-1


On Fri, Jan 13, 2017 at 7:23 AM, Mike DePaulo <mikedep333@gmail.com> wrote:
lol

#JustCygwinThings


---------- Forwarded message ----------
From: Frank Fesevur <ffes@users.sourceforge.net>
Date: Thu, Jan 12, 2017 at 3:32 PM
Subject: Updated: shutdown 2.0-1
To: cygwin-announce@cygwin.com


Hi,

I've just updated the version of shutdown to v2.0-1 and it can be
found at a server near you.


FULL CHANGELOG (since shutdown-1.10-1)
======================================

* Added --install to install Windows Updates during shutdown/reboot.

  The InitiateShutdown() Windows API call is used for this. This function is
  only available from Windows 6.0 (aka Vista or Server 2008) or higher.
  To assure backwards compatibility with WinXP and Server 2003,
  InitiateShutdown() is loaded dynamically at runtime. Since Cygwin 2.6
  support for Windows XP and Server 2003 has been dropped, so this backward
  compatibility will be removed in a future release.

* Added --hybrid to shutdown in hybrid mode. Hybrid is the default shutdown
  method with shutting down with the UI of Windows 8.x and higher.

* The default shutdown messages will give more information on what is about
  to happen.

* User can supply his own shutdown message on the command line.

Enjoy!

Regards,
Frank

 
My friend didn't find the humor in this, so let me point it out:
1. The fact that the shutdown & reboot commands are their own package in Cygwin.
2. The fact that they include an option to install Windows updates.
3. The fact that they have to handle various shutdown APIs across different versions of Windows.

-Mike
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug