Merge "rebase initscript patch to CentOS 7.6 version" into f/centos76

This commit is contained in:
Zuul 2019-01-02 01:59:12 +00:00 committed by Gerrit Code Review
commit f879cb1e2a
5 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@ diff --git a/SPECS/initscripts.spec b/SPECS/initscripts.spec
index ad32f19..ace1326 100644 index ad32f19..ace1326 100644
--- a/SPECS/initscripts.spec --- a/SPECS/initscripts.spec
+++ b/SPECS/initscripts.spec +++ b/SPECS/initscripts.spec
@@ -4,7 +4,7 @@ Version: 9.49.41 @@ -4,7 +4,7 @@ Version: 9.49.46
# ppp-watch is GPLv2+, everything else is GPLv2 # ppp-watch is GPLv2+, everything else is GPLv2
License: GPLv2 and GPLv2+ License: GPLv2 and GPLv2+
Group: System Environment/Base Group: System Environment/Base

View File

@ -51,7 +51,7 @@ index 3da5c16..9bcf57f 100755
set_hostname_options DHCLIENTARGS set_hostname_options DHCLIENTARGS
echo echo
@@ -354,7 +354,7 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then @@ -355,7 +355,7 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then
echo -n $"Determining IPv6 information for ${DEVICE}..." echo -n $"Determining IPv6 information for ${DEVICE}..."
# Initialize the dhclient args for IPv6 and obtain the hostname options if needed: # Initialize the dhclient args for IPv6 and obtain the hostname options if needed:

View File

@ -11,7 +11,7 @@ diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup
index 4b8b992..ccb5c75 100755 index 4b8b992..ccb5c75 100755
--- a/sysconfig/network-scripts/ifup-eth --- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth
@@ -363,13 +363,14 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then @@ -364,13 +364,14 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then
echo -n $"Determining IPv6 information for ${DEVICE}..." echo -n $"Determining IPv6 information for ${DEVICE}..."
# Initialize the dhclient args for IPv6 and obtain the hostname options if needed: # Initialize the dhclient args for IPv6 and obtain the hostname options if needed:

View File

@ -11,7 +11,7 @@ diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index a8deed3..852ef94 100755 index a8deed3..852ef94 100755
--- a/rc.d/init.d/network --- a/rc.d/init.d/network
+++ b/rc.d/init.d/network +++ b/rc.d/init.d/network
@@ -214,6 +214,9 @@ stop) @@ -228,6 +228,9 @@ stop)
if ! check_device_down $DEVICE; then if ! check_device_down $DEVICE; then
action $"Shutting down interface $i: " ./ifdown $i boot action $"Shutting down interface $i: " ./ifdown $i boot
[ $? -ne 0 ] && rc=1 [ $? -ne 0 ] && rc=1

View File

@ -1 +1 @@
mirror:Source/initscripts-9.49.41-1.el7.src.rpm mirror:Source/initscripts-9.49.46-1.el7.src.rpm