From: Brian J. Murrell Date: Mon, 21 Dec 2020 05:07:38 +0000 (-0500) Subject: mwan3: Use shebang in /etc/mwan3.user X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=090623ac11f3d34497e70ebe14ad1c19d9e2bce2;p=feed%2Fpackages.git 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 Update PKG_VERSION to 2.10.12 Signed-off-by: Florian Eckert (cherry picked from commit 3d824ea288d907a31729c3629e884ea122c30da0) --- diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index 614c68b0c5..136da86636 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 , \ Aaron Goodman 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 ea509acc84..a9f42168b8 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