v5471/flash.sh
2016-09-05 20:25:57 -03:00

10 lines
158 B
Bash
Executable File

#!/bin/bash
[[ "$#" -lt 1 ]] && {
echo "flash.sh <image>"
exit
}
curl -H "Expect:" "http://192.168.25.1/cgi-bin/firmware.cgi" -F sFirmwareFile=@$1