Browse Source

mwan3: add IPKG_INSTROOT to scripts

IPKG_INSTROOT needed for including mwan3 when building images

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
lilik-openwrt-22.03
Aaron Goodman 4 years ago
parent
commit
b849fc73fb
2 changed files with 4 additions and 5 deletions
  1. +3
    -4
      net/mwan3/files/etc/init.d/mwan3
  2. +1
    -1
      net/mwan3/files/lib/mwan3/mwan3.sh

+ 3
- 4
net/mwan3/files/etc/init.d/mwan3 View File

@ -1,9 +1,8 @@
#!/bin/sh /etc/rc.common #!/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 START=19
USE_PROCD=1 USE_PROCD=1


+ 1
- 1
net/mwan3/files/lib/mwan3/mwan3.sh View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
. /usr/share/libubox/jshn.sh
. "${IPKG_INSTROOT}/usr/share/libubox/jshn.sh"
IPS="ipset" IPS="ipset"
IPT4="iptables -t mangle -w" IPT4="iptables -t mangle -w"


Loading…
Cancel
Save