]> git.99rst.org Git - openwrt-packages.git/commitdiff
mwan3: sourcing the mwan3 init is not needed anymore
authorFlorian Eckert <redacted>
Tue, 9 Jun 2026 11:38:44 +0000 (13:38 +0200)
committerFlorian Eckert <redacted>
Tue, 7 Jul 2026 06:03:02 +0000 (08:03 +0200)
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 <redacted>
net/mwan3/files/usr/sbin/mwan3

index 9916657928dfe352664d5efc1301713c307276b1..e68b22bd149babc326a92d4a016cefcd196b9c5d 100755 (executable)
@@ -48,8 +48,6 @@ ifdown() {
 }
 
 ifup() {
-       . /etc/init.d/mwan3
-
        if [ -z "$1" ]; then
                echo "Expecting interface. Usage: mwan3 ifup <interface>"
                exit 0
git clone https://git.99rst.org/PROJECT