From 3d824ea288d907a31729c3629e884ea122c30da0 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Mon, 21 Dec 2020 00:07:38 -0500 Subject: 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.11 Signed-off-by: Florian Eckert --- net/mwan3/files/etc/hotplug.d/iface/16-mwan3-user | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net/mwan3/files') 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 -- cgit v1.2.3