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.

** Patch added: "bug_halt_outdated_docs.patch"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/991997/+attachment/4327304/+files/bug_halt_outdated_docs.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991997

Title:
  Wrong comment in /etc/default/halt: Default behavior of "halt" changed
  to halt only instead of powering off

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/991997/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to