The readlink command on a real file was expanding to nothing and then the '/etc/resolv.conf' file was not being updated with the nameservers. With this change we only run the 'readlink' link command after checking that the file is actually a symbolic link. Signed-off-by: Javier Viguera <javier.viguera@digi.com> |
||
|---|---|---|
| .. | ||
| ccimx6ul | ||
| interfaces | ||
| interfaces.br0.example | ||
| interfaces.cellular | ||
| interfaces.eth0.dhcp | ||
| interfaces.eth0.static | ||
| interfaces.eth1.dhcp | ||
| interfaces.eth1.static | ||
| interfaces.p2p | ||
| interfaces.wlan0.dhcp | ||
| interfaces.wlan0.static | ||
| resolv | ||