oscam.conf

[webif]
httpport = 1200
httpuser = user2
httppwd = password2

daca am inteles bine, este asa:

#####################################

#!/bin/bash
wait=3600
oscam_user="USER" # User acces webinfo oscam
oscam_passwd="passwd" # Parola acces webinfo oscam
oscam_port="PORT" # Port webifo oscam actual port
label="tivusat" # Denumire readerv(label)

while true; do
response=$(curl -s -k --user "$user2:$password2" --anyauth \
"http://127.0.0.1:$1200/emm_running.html?label=$label&emmcaid=183E&ep=$(curl -s https://pastebin.com/raw/U4eM6DjV)&emmfile=&action=Launch")
if [ $? -ne 0 ]; then
echo "Error in curl request. Exiting..."
exit 1
fi

if [[ $response == *"expected_keyword"* ]]; then
echo "EMM Scris incorect!"
else
echo "EMM Scris corect!"
fi

sleep "$wait"
done

#######################################