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 <fe@dev.tdt.de>
pull/29948/head
Florian Eckert 2026-06-09 13:38:44 +02:00 committed by Florian Eckert
parent 583036ad17
commit cdb882a27f
1 changed files with 0 additions and 2 deletions

View File

@ -48,8 +48,6 @@ ifdown() {
}
ifup() {
. /etc/init.d/mwan3
if [ -z "$1" ]; then
echo "Expecting interface. Usage: mwan3 ifup <interface>"
exit 0