Do not process hostnames that starts with a single # (in case someone accidently used the incorrect format to comment out lines
This commit is contained in:
parent
237ed1303d
commit
237840aa33
|
@ -82,9 +82,12 @@ cat /config/hashtag-urls.txt >> /config/urls.txt
|
|||
|
||||
sort -u /config/urls.txt | while read -r url
|
||||
do
|
||||
echo "[INFO] Opening $url to stream"
|
||||
sleep $streamDelay
|
||||
./stream-url.sh $url &
|
||||
if [[ ! $url == "#"* ]]
|
||||
then
|
||||
echo "[INFO] Opening $url to stream"
|
||||
sleep $streamDelay
|
||||
./stream-url.sh $url &
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ $runFirehose == true ]]
|
||||
|
|
Loading…
Reference in New Issue