run_hook ()
{
    # Do not need this thanks to tr: file=$(dos2unix inputs.txt)

    # Use -r so a line with backslashes will be showed like you want
    while true
    do
        # Not empty? Check with test -n
        if blkid -s PARTUUID -o value | grep %USB_UUID% > /dev/null; then
            echo ":: USB-Stick gefunden fahre mit starten des Systems weiter!"
            break
        else
            echo ":: USB-Stick konnte nicht zur entsperrung gefunden werden!"
            echo "..."
            sleep 5
        fi
    done

    echo ":: done."
}

# vim: set ft=sh ts=4 sw=4 et:
