From: Florian Eckert Date: Tue, 9 Jun 2026 11:38:44 +0000 (+0200) Subject: mwan3: sourcing the mwan3 init is not needed anymore X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cdb882a27fce62ccc48ccb542858bc561cbc2678;p=openwrt-packages.git mwan3: sourcing the mwan3 init is not needed anymore Source the 'mwan3' init service does printing the following log message: /usr/sbin/mwan3: /etc/init.d/mwan3: line 116: extra_command: not found However, there is no need to source this file, as the required functions are already loaded in the file '/usr/lib/mwan3.sh'. Signed-off-by: Florian Eckert --- diff --git a/net/mwan3/files/usr/sbin/mwan3 b/net/mwan3/files/usr/sbin/mwan3 index 991665792..e68b22bd1 100755 --- a/net/mwan3/files/usr/sbin/mwan3 +++ b/net/mwan3/files/usr/sbin/mwan3 @@ -48,8 +48,6 @@ ifdown() { } ifup() { - . /etc/init.d/mwan3 - if [ -z "$1" ]; then echo "Expecting interface. Usage: mwan3 ifup " exit 0