ah
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ fwrite($fh, $contents);
|
|||||||
fwrite($fh2, $contents2);
|
fwrite($fh2, $contents2);
|
||||||
|
|
||||||
if(strlen($apprise_input) > 0){
|
if(strlen($apprise_input) > 0){
|
||||||
$appriseconfig = fopen("".exec("~/").".apprise", "w");
|
$appriseconfig = fopen("/etc/birdnet/.apprise", "w");
|
||||||
fwrite($appriseconfig, $apprise_input);
|
fwrite($appriseconfig, $apprise_input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ ${NOTIFICATION}"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -s ~/.apprise ];then
|
if [ ! -s ~/.apprise ];then
|
||||||
$HOME/BirdNET-Pi/birdnet/bin/apprise -vv -t 'New Species Detected' -b ${NOTIFICATION}
|
$HOME/BirdNET-Pi/birdnet/bin/apprise -vv -t 'New Species Detected' -b ${NOTIFICATION} --config=/etc/birdnet/.apprise
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user