Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
dracut.14855
0616-ifup.sh-several-fixes-for-dhcp-calls-with-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0616-ifup.sh-several-fixes-for-dhcp-calls-with-multiple-n.patch of Package dracut.14855
From b2d7ded290e13d275301508b56a21817a2283cf3 Mon Sep 17 00:00:00 2001 From: Thomas Blume <Thomas.Blume@suse.com> Date: Thu, 26 Sep 2019 14:32:25 +0200 Subject: [PATCH 1/3] ifup.sh: several fixes for dhcp calls with multiple nics --- modules.d/40network/ifup.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Index: dracut-044/modules.d/40network/ifup.sh =================================================================== --- dracut-044.orig/modules.d/40network/ifup.sh +++ dracut-044/modules.d/40network/ifup.sh @@ -600,11 +600,11 @@ if [ ! -e /tmp/net.${netif}.up ]; then load_ipv6 do_dhcp -6 fi - if getargs 'ip=dhcp'; then + if getargs 'ip=dhcp' && [ "$autoconf" != "dhcp" ]; then do_dhcp -4 fi fi - if [ $? -eq 0 ]; then + if [ $? -eq 0 ] && [ -f /tmp/leaseinfo.${netif}* ]; then bring_online fi fi
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