diff --git a/net/mwan3/files/etc/init.d/mwan3 b/net/mwan3/files/etc/init.d/mwan3 index 23c21ab5d..743beb152 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 5bb8a579d..5d200071a 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"