diff options
Diffstat (limited to 'core/modules/dhcpc-busybox')
-rwxr-xr-x | core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 2 | ||||
-rw-r--r-- | core/modules/dhcpc-busybox/module.conf | 3 | ||||
-rw-r--r-- | core/modules/dhcpc-busybox/module.conf.ubuntu | 5 |
3 files changed, 9 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]) diff --git a/core/modules/dhcpc-busybox/module.conf b/core/modules/dhcpc-busybox/module.conf index d8961801..612863b9 100644 --- a/core/modules/dhcpc-busybox/module.conf +++ b/core/modules/dhcpc-busybox/module.conf @@ -2,3 +2,6 @@ REQUIRED_MODULES=" rdns " +REQUIRED_BINARIES=" + gawk +" diff --git a/core/modules/dhcpc-busybox/module.conf.ubuntu b/core/modules/dhcpc-busybox/module.conf.ubuntu new file mode 100644 index 00000000..06767018 --- /dev/null +++ b/core/modules/dhcpc-busybox/module.conf.ubuntu @@ -0,0 +1,5 @@ +#!/bin/bash + +REQUIRED_CONTENT_PACKAGES=" + gawk +" |