This looks like /bin/bash is not available in frigate. I’m not familiar with Frigate. Can you link me to something? Lets take a stab in the dark and try another Home Assistant method. Try replacing the shebang at the top of the script
#! /bin/bash
with
#! /usr/bin/with-contenv bashio
Sorry. this was my fault. lets make that script again.
#! /usr/bin/with-contenv bashio
mkdir -p /media/cams #make the directory. Should not fail if directory is already created.
mount -t cifs -o user="user here",password="password here" //192.168.xxx.xxx/cams /media/cams