luci-base: use board.json to infer switch netdev