[Bug 902473] Re: acpid's script "lid.sh" should *source* lid.sh.pre and lid.sh.post

Ubuntu Foundation's Bug Bot 902473 at bugs.launchpad.net
Sat Dec 10 12:13:30 UTC 2011


The attachment "source lid.sh.{pre,post} from lid.sh (patch against
acpid 1:2.0.10-1ubuntu2.3)" of this bug report has been identified as
being a patch.  The ubuntu-reviewers team has been subscribed to the bug
report so that they can review the patch.  In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

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

Title:
  acpid's script "lid.sh" should *source* lid.sh.pre and lid.sh.post

Status in “acpid” package in Ubuntu:
  New

Bug description:
  As of  acpid 1:2.0.10-1ubuntu2.3, the support script
  "/etc/acpi/lid.sh" allows users to define hooks
  "/etc/acpi/local/lid.sh.pre" and "lid.sh.post".

  However, these hooks are executed as shell commands, instead of being
  sourced by the current shell.  Thus, the environment and the ACPI
  functions is lost in the hook scripts, and one must set it up again.

  Sourcing the hook scripts makes them more useful.

  Trivial patch attached.

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




More information about the foundations-bugs mailing list