IPKG_INSTROOT needed for including mwan3 when building images
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
#!/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
#!/bin/sh
-. /usr/share/libubox/jshn.sh
+. "${IPKG_INSTROOT}/usr/share/libubox/jshn.sh"
IPS="ipset"
IPT4="iptables -t mangle -w"