Hello! I have the GL-X3000 / Spitz AX. I would like to execute specific AT / shell commands when I switch to Sim 1 or to Sim 2. I know how to SSH into my router and find the scripts / files / etc via SSH. Could someone from GL-iNet tell me if there is a particular script that gets executed when a Sim switch occurs?
Basically something like:
Sim switch occurs in router interface or via automated switching.
Execute something like:
if SIM1
then
gl_modem -D AT ‘AT+BLAHBLAHBLAH’
gl_modem -D AT ‘AT+BLAHBLAHBLAH’
elif SIM2
then
gl_modem -D AT ‘AT+BLAHBLAHBLAH2’
gl_modem -D AT ‘AT+BLAHBLAHBLAH2’
fi