From b849fc73fb61e4d33017621d59cd8f56d3ee7d9a Mon Sep 17 00:00:00 2001 From: Aaron Goodman Date: Tue, 10 Nov 2020 08:46:55 -0500 Subject: [PATCH] mwan3: add IPKG_INSTROOT to scripts IPKG_INSTROOT needed for including mwan3 when building images Signed-off-by: Aaron Goodman --- net/mwan3/files/etc/init.d/mwan3 | 7 +++---- net/mwan3/files/lib/mwan3/mwan3.sh | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/net/mwan3/files/etc/init.d/mwan3 b/net/mwan3/files/etc/init.d/mwan3 index 23c21ab5d7..743beb1527 100755 --- a/net/mwan3/files/etc/init.d/mwan3 +++ b/net/mwan3/files/etc/init.d/mwan3 @@ -1,9 +1,8 @@ #!/bin/sh /etc/rc.common -. /lib/functions.sh -. /lib/mwan3/common.sh -. /lib/functions/network.sh -. /lib/mwan3/mwan3.sh +. "${IPKG_INSTROOT}/lib/mwan3/common.sh" +. "${IPKG_INSTROOT}/lib/functions/network.sh" +. "${IPKG_INSTROOT}/lib/mwan3/mwan3.sh" START=19 USE_PROCD=1 diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index 5bb8a579d7..5d200071a2 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -1,6 +1,6 @@ #!/bin/sh -. /usr/share/libubox/jshn.sh +. "${IPKG_INSTROOT}/usr/share/libubox/jshn.sh" IPS="ipset" IPT4="iptables -t mangle -w" -- 2.30.2