some bugfixes
This commit is contained in:
parent
6c77227c4e
commit
afd09dafa7
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mountpoint="/media/video" ### var: mountpoint
|
mountpoint="/media/video" ### var: mountpoint
|
||||||
mountoptions="ro" ### var: mountoptions
|
mountoptions="ro -f" ### var: mountoptions
|
||||||
device="sda1" ### var: mount device
|
device="sda1" ### var: mount device
|
||||||
player="randomvideo.sh" ### var: player process
|
player="randomvideo.sh" ### var: player process
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ if [ -z "$player_path" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|
||||||
mountstat="$(mount | grep $mountdevice)"
|
mountstat="$(mount | grep $mountdevice)"
|
||||||
|
|
||||||
if [ -z "$mountstat" ]; then
|
if [ -z "$mountstat" ]; then
|
||||||
|
|
Loading…
Reference in New Issue