Comment 6 for bug 991997

Revision history for this message
Rarylson Freitas (rarylson) wrote :

I think the current behavior is correctly, but the comment in "/etc/default/halt" sould be updated.

Currently, this file is only used by /sbin/shutdown (or by the /etc/init.d/halt, that can be called by the /sbin/shutdown depending of the situation).

Updating the comment may avoid user misunderstands.

In Trusty, this file is packaged in the "initscripts" package: http://packages.ubuntu.com/trusty/amd64/initscripts/filelist

The default file should be:

  # Default behaviour of shutdown -h. Set to "halt" or "poweroff".
  HALT=poweroff

I'm attaching a patch to the current "initscripts" package.