The attached patch includes all previous corrections (see rest of this bug) and corrects a problem with unquoted arguments causing an == check to fail (refer to #84802) that was introduced in or about Herd3.
** Attachment added: "Patch Herd3 laptop_mode with read checks, better error messages, no syntax errors" http://librarian.launchpad.net/6419658/laptop_mode.Herd3.diff -- laptop_mode status DOES NOT check for read perms on block devs - patch included https://launchpad.net/bugs/77560 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
