mwan3: Use shebang in /etc/mwan3.user
authorBrian J. Murrell <brian@interlinx.bc.ca>
Mon, 21 Dec 2020 05:07:38 +0000 (00:07 -0500)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 3 Sep 2021 09:51:01 +0000 (11:51 +0200)
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.12
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3d824ea288d907a31729c3629e884ea122c30da0)

net/mwan3/Makefile
net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user

index 614c68b0c5038da51895391484386b9253c4d900..136da86636497a47dd2a5149d9c7a1043bfacd61 100644 (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>
index ea509acc84d72c01305c4f6196b1824b520f90bb..a9f42168b84024199ec9060398aceb5b4eb6c4eb 100644 (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