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.
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/initscrip ts/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.