diff options
author | Simon Rettberg | 2021-09-07 16:01:18 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-09-07 16:01:18 +0200 |
commit | aaca43844522aa58b3e0eea855c488cc7b47336e (patch) | |
tree | 4d67132d655b08de2abe887a85b86cca322ddbe7 /core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | |
parent | [qemu] Fix invalid call of looking-glass-client in debug mode (diff) | |
download | mltk-aaca43844522aa58b3e0eea855c488cc7b47336e.tar.gz mltk-aaca43844522aa58b3e0eea855c488cc7b47336e.tar.xz mltk-aaca43844522aa58b3e0eea855c488cc7b47336e.zip |
[dhcpc-busybox] Use gawk
Diffstat (limited to 'core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx')
-rwxr-xr-x | core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx index 3e30da55..b661633c 100755 --- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx +++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx @@ -39,7 +39,7 @@ rebuild_resolv_conf () { # group everything else together into one line. # Skip domain entirely if any search lines are found. cat "/run/network/$primary.resolv" /run/network/!("$primary").resolv \ - | awk '{ + | gawk '{ if ( $1 ~ /^[a-z]+$/ ) { for (i = 2; i <= NF; ++i) { if (done[$1][$i]) |