Jerone, I think Steve is right about the no-op grep change.. otherwise, to make it more specific you could have used "grep ^status: $BLUETOOTH | grep -q disabled", but this (and your change) makes it more fragile probably. However, if the match should be more specific, explicitly selecting the status line (by prefix instead of line number) makes more sense IMHO.
-- Add better behavior & fix for bluetooth with Lenovo Thinkpads (Code included) https://bugs.launchpad.net/bugs/183682 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs