I'm not sure where this thread belongs.....
I had a very simple script to reboot my router as needed, which worked fine for quite a while:
I don't know when it stopped working, but now when it's executed, both curl commands yield the same output:
Any thoughts?
I had a very simple script to reboot my router as needed, which worked fine for quite a while:
Code:
#!/bin/bash
curl 'http://192.168.1.2/login.htm' --data-raw 'username=admin&password=XXXXXXXXXXX'
curl 'http://192.168.1.2/devicemng_rebootinfo.htm'
I don't know when it stopped working, but now when it's executed, both curl commands yield the same output:
Code:
curl: (48) An unknown option was passed in to libcurl
Any thoughts?