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