From 4a0503d366e3af8da4ef4be0d4d314d4a637c42a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 7 Aug 2019 11:38:37 +0200 Subject: [dhcpc-busybox] add openslx PATH --- core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 81c9491b..1774253a 100755 --- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx +++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx @@ -18,6 +18,8 @@ # # ----------------------------------------------------------------------------- +export PATH=$PATH:/opt/openslx/sbin:/opt/openslx/bin + . /opt/openslx/config primary="br0" @@ -82,7 +84,7 @@ case "$1" in fi # get domain, hostname and thus fqdn from DNS - dns_fqdn=$(/opt/openslx/bin/busybox timeout -t 3 rdns "$ip") + dns_fqdn=$(busybox timeout -t 3 rdns "$ip") dns_short="${dns_fqdn%%.*}" # check if it is fqdn if [ "$dns_fqdn" == "$dns_short" ]; then -- cgit v1.2.3-55-g7522