16-mwan3-user 262 B

12345678910111213
  1. #!/bin/sh
  2. [ -f "/etc/mwan3.user" ] && {
  3. . /lib/functions.sh
  4. config_load mwan3
  5. config_get enabled "$INTERFACE" enabled 0
  6. [ "${enabled}" = "1" ] || exit 0
  7. env -i ACTION="$ACTION" INTERFACE="$INTERFACE" DEVICE="$DEVICE" \
  8. /bin/sh /etc/mwan3.user
  9. }
  10. exit 0