fix: when tmpfs is active, analyzing_now.txt does not exist at startup, so create it before watching
This commit is contained in:
@@ -15,6 +15,7 @@ fi
|
||||
next=0
|
||||
looptime=$(( RECORDING_LENGTH * 2 / 3 ))
|
||||
|
||||
touch "$HOME/BirdSongs/StreamData/analyzing_now.txt"
|
||||
# Continuously loop generating a spectrogram
|
||||
inotifywait -m -e close_write "$HOME/BirdSongs/StreamData/analyzing_now.txt" |
|
||||
while read; do
|
||||
|
||||
Reference in New Issue
Block a user