some bugfixes

This commit is contained in:
mmaster 2021-09-22 02:25:31 +02:00
parent 6c77227c4e
commit afd09dafa7
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -31,6 +31,7 @@ if [ -z "$player_path" ]; then
fi
while true; do
mountstat="$(mount | grep $mountdevice)"
if [ -z "$mountstat" ]; then