On 2016-01-19 08:46, Jason Wu wrote: > Hi Felix, > > Thanks for reviewing the patch. please see my reply inline. >
>> If you adjust your other scripts to be able to deal with names like >> "xlnx,zynq-zc702", you can drop this script and let the default sysinfo >> script take care of things. > Sorry for the newbie question, so the sysinfo get this board name base > on the dts root node's compatible binding? Yes. > This file will be removed and i will make the network script to read > /tmp/sysinfo/board_name if board variable is empty. e.g > board=${board:-$(cat /tmp/sysinfo/board_name)} If you remove the zynq.sh, the variable will always be empty. So you can just do: case "$(cat /tmp/sysinfo/board_name)" in ... esac - Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel