Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update livecheck.sh to fix Linux 6 loop device false positives #14

Closed
wants to merge 4 commits into from
Closed

Update livecheck.sh to fix Linux 6 loop device false positives #14

wants to merge 4 commits into from

Commits on Aug 22, 2023

  1. Update livecheck.sh to fix Linux 6 loop device false positives

    Changed the way the lsblk output is generated so it can be modified with regular expressions to exclude empty read-write loop devices and strip it down to only the RO output.
    pxlkng committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    af665c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Fix return value issue

    The piping introduced and issue that prevented the `if` from picking up the return value of lsblk.
    
    Moved the piping out of the if-statement.
    pxlkng committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    a1e956d View commit details
    Browse the repository at this point in the history
  2. Fix user error

    Fixed some user errors I made in the last commit.
    Put variables in quotes so newlines/line breaks are retained.
    pxlkng committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3ffeafa View commit details
    Browse the repository at this point in the history
  3. Rework solution and cleanup

    - Reworked solution to be easier to understand, simpler and more efficient.
    - Corrected spelling
    - Added detailed documentation of every step
    - Split every step into their own line
    - Added simplified explanation of the RegEx
    pxlkng committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    8ffc957 View commit details
    Browse the repository at this point in the history