mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
185 B
12 lines
185 B
3 years ago
|
#!/bin/bash
|
||
|
# SPDX-License-Identifier: GPL-2.0
|
||
|
i=0
|
||
|
file=/dev/media$1
|
||
|
while :; do
|
||
|
echo $file
|
||
|
i=$((i+1))
|
||
|
R=$(./media_device_open -d $file);
|
||
|
# clear
|
||
|
echo -e "Loop $i\n$R"
|
||
|
done
|