File 0014-ppp-ip-up-fixed-netconfig-modify-calls.patch of Package sysconfig.2730
From 150a2c9eb8a85152961c591b73e10ef61e24bd8d Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.com>
Date: Wed, 9 Apr 2014 09:56:16 +0200
Subject: [PATCH] ppp/ip-up: fixed netconfig modify calls
The global config file now explicitly sets the NETCONFIG_VERBOSE
variable to yes/no, what breaks the netconfig call from ip-up
using it to pass a "-v" as a command line option (bnc#872689).
---
scripts/ip-up | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/ip-up b/scripts/ip-up
index b09430e..4cb6aa6 100755
--- a/scripts/ip-up
+++ b/scripts/ip-up
@@ -76,7 +76,7 @@ add_nameservers()
fi
echo "NETBIOSNAMESERVER='${winsservers[@]}'"
#fi
- } | /sbin/netconfig modify -s pppd -i "$INTERFACE" $NETCONFIG_VERBOSE
+ } | /sbin/netconfig modify -s pppd -i "$INTERFACE"
}
restore_nameservers()
{
@@ -90,7 +90,7 @@ restore_nameservers()
`)
test -z "$noremove" || return
fi
- /sbin/netconfig remove -s pppd -i "$INTERFACE" $NETCONFIG_VERBOSE
+ /sbin/netconfig remove -s pppd -i "$INTERFACE"
}
# using this function currently breaks Dial On Demand setups, because
--
1.8.4.5