small update on CARD_READER variable
This commit is contained in:
1 parent
8681034d63
commit
62667d11f8
1 file changed
+1
-1
@@ -56,7 +56,7 @@ CARD_READER=($(ls /dev/* | grep "$CARD_DEV" | cut -d"/" -f3))
|
|||||||
until [ ! -z "${CARD_READER[0]}" ]
|
until [ ! -z "${CARD_READER[0]}" ]
|
||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
CARD_READER=($(ls /dev/sd* | grep "$CARD_DEV" | cut -d"/" -f3))
|
CARD_READER=($(ls /dev/* | grep "$CARD_DEV" | cut -d"/" -f3))
|
||||||
done
|
done
|
||||||
|
|
||||||
# If the card reader is detected, mount it and obtain its UUID
|
# If the card reader is detected, mount it and obtain its UUID
|
||||||
|
|||||||
Reference in new issue
Block a user