Browse Source

mwan3: Use shebang in /etc/mwan3.user

To allow the script to define what it should be run with.
This let's the user use bash if it's available, or python, or perl, etc.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
Update PKG_VERSION to 2.10.11
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Brian J. Murrell 4 years ago
committed by Florian Eckert
parent
commit
3d824ea288
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +1
    -2
      net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user

+ 1
- 1
net/mwan3/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3
PKG_VERSION:=2.10.11
PKG_VERSION:=2.10.12
PKG_RELEASE:=1
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>, \
Aaron Goodman <aaronjg@alumni.stanford.edu>


+ 1
- 2
net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user View File

@ -19,8 +19,7 @@
exit 0
}
env -i ACTION="$ACTION" INTERFACE="$INTERFACE" DEVICE="$DEVICE" \
/bin/sh /etc/mwan3.user
env -i ACTION="$ACTION" INTERFACE="$INTERFACE" DEVICE="$DEVICE" /etc/mwan3.user
}
exit 0

Loading…
Cancel
Save