aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian J. Murrell <brian@interlinx.bc.ca>2020-12-21 00:07:38 -0500
committerFlorian Eckert <fe@dev.tdt.de>2021-09-03 11:46:28 +0200
commit3d824ea288d907a31729c3629e884ea122c30da0 (patch)
tree48d460ddd4342fe98dcd5a3588b69c86b8ce03a1
parentff995f404ee9890f2617b978d3668db1e96e2178 (diff)
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>
-rw-r--r--net/mwan3/Makefile2
-rw-r--r--net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user3
2 files changed, 2 insertions, 3 deletions
diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile
index 614c68b0c..136da8663 100644
--- a/net/mwan3/Makefile
+++ b/net/mwan3/Makefile
@@ -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>
diff --git a/net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user b/net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user
index ea509acc8..a9f42168b 100644
--- a/net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user
+++ b/net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user
@@ -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