mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Merge pull request #524 from awigen/update-linux-flash-script
Update Linux flash script
This commit is contained in:
@@ -37,7 +37,7 @@ function enable_gautomount {
|
||||
}
|
||||
|
||||
function is_attached {
|
||||
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU\\\\x20Disk'`
|
||||
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU.*Disk'`
|
||||
if [ $? -ne 0 ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user