remove -o hotplug from ifup/ifdown call [bnc#790469]

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=48
This commit is contained in:
Olaf Hering 2012-11-25 16:52:32 +00:00 committed by Git OBS Bridge
parent 699250925a
commit d9e9558049
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
-------------------------------------------------------------------
Fri Nov 23 20:49:31 CET 2012 - ohering@suse.de
Sun Nov 25 17:50:40 CET 2012 - ohering@suse.de
- update hv_set_ifconfig further to work with our ifcfg [bnc#790469]

View File

@ -176,6 +176,6 @@ then
sed -i "s@^NETCONFIG_DNS_STATIC_SERVERS=.*@NETCONFIG_DNS_STATIC_SERVERS='$_DNS_'@" /etc/sysconfig/network/config
netconfig update -m dns
fi
ifdown "${IF_NAME}" -o hotplug
ifup "${IF_NAME}" -o hotplug
ifdown "${IF_NAME}"
ifup "${IF_NAME}"
) 2>&1 | logger -t "${0##*/}[$PPID / $$]"