Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
kdump
kdump-net-0008-improve-auto-iface.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-net-0008-improve-auto-iface.patch of Package kdump
From: Petr Tesarik <ptesarik@suse.com> Date: Thu, 1 Sep 2016 10:42:56 +0200 Subject: Use the correct method to get desired device mode for "auto" References: bsc#980328 Patch-mainline: v0.8.16 Git-commit: bc691a84a9193dd64689373ee9601a9101418f06 There is already good heuristics kdump_netdev_mode(), but this function is not used. Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- init/module-setup.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) --- a/init/module-setup.sh +++ b/init/module-setup.sh @@ -77,20 +77,11 @@ kdump_cmdline_ip() { fi [ "$_if" = "default" ] && _if=$(kdump_default_netdev) + [ "$_mode" = "auto" ] && _mode=$(kdump_netdev_mode "$_if") local iface kdump_ifname_config "$_if" - if [ "$_mode" = "auto" ] ; then - if [ -n $(kdump_ip_config "$_if") ] ; then - _mode=dhcp4 - elif [ -n $(kdump_ip6_config "$_if") ] ; then - _mode=dhcp6 - else - _mode=auto6 - fi - fi - case "$_mode" in static) printf " %s" \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor