#!/bin/sh # no need for tftp service if the Quantenna module is PCIe connected [ "$(basename "$(readlink /sys/class/net/$(uci -q get network.qtn.ifname)/device/driver)")" = "qtnfmac_pcie" ] && exit 0 uci -q get dhcp.qtn_rgmii >/dev/null && exit 0 touch /etc/config/dhcp uci batch <