busybox: udhcpc script: create resolv.conf
PATCH 1/1 busybox: udhcpc script: create resolv.conf
Eliminate the following error message on every boot:
grep: /etc/resolv.conf: No such file or directory
Signed-off-by Baruch Siach <[email protected]>
--- package/busybox/udhcpc.script | 1 + 1 file changed, 1 insertion(+)
package/busybox/udhcpc.script +1 -0
@@ -5,6 +5,7 @@ [ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 RESOLV_CONF="/etc/resolv.conf" +[ -e $RESOLV_CONF ] || touch $RESOLV_CONF [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" [ -n "$subnet" ] && NETMASK="netmask $subnet"
Signature · 1 line
1.8.5.2
PATCH 1/1 busybox: udhcpc script: create resolv.conf
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Eliminate the following error message on every boot:
grep:/etc/resolv.conf: No such file or directorySigned-off-by Baruch Siach <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard