mwan3: add IPKG_INSTROOT to scripts

IPKG_INSTROOT needed for including mwan3 when building images

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
This commit is contained in:
Aaron Goodman 2020-11-10 08:46:55 -05:00
parent 1ef1491e1a
commit b849fc73fb
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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"