summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-08-07 11:38:37 +0200
committerJonathan Bauer2019-08-07 11:38:37 +0200
commit4a0503d366e3af8da4ef4be0d4d314d4a637c42a (patch)
tree5242d53c08567be004351ca4a4342cf475d8ce92
parent[dhcpc-busybox] make sure /run/network exists (diff)
downloadmltk-4a0503d366e3af8da4ef4be0d4d314d4a637c42a.tar.gz
mltk-4a0503d366e3af8da4ef4be0d4d314d4a637c42a.tar.xz
mltk-4a0503d366e3af8da4ef4be0d4d314d4a637c42a.zip
[dhcpc-busybox] add openslx PATH
-rwxr-xr-xcore/modules/dhcpc-busybox/data/opt/openslx/scripts/udhcpc-openslx4
1 files changed, 3 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 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