diff options
-rwxr-xr-x | etc/rc.d/init.d/network | 6 | ||||
-rwxr-xr-x | network-scripts/ifdown | 6 | ||||
-rwxr-xr-x | network-scripts/ifup | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/etc/rc.d/init.d/network b/etc/rc.d/init.d/network index 798e0d09..581fd018 100755 --- a/etc/rc.d/init.d/network +++ b/etc/rc.d/init.d/network @@ -50,9 +50,9 @@ interfaces=$(ls ifcfg-* | \ rc=0 if ! [ -f /etc/sysconfig/disable-deprecation-warnings ]; then - net_log $"You are using 'network' service provided by 'network-scripts', which are now deprecated." warning network - net_log $"'network-scripts' will be removed in one of the next major releases of RHEL." warning network - net_log $"It is advised to switch to 'NetworkManager' instead for network management." warning network + net_log $"You are using 'network' service provided by 'network-scripts', which are now deprecated." warning network >&2 + net_log $"'network-scripts' will be removed in one of the next major releases of RHEL." warning network >&2 + net_log $"It is advised to switch to 'NetworkManager' instead for network management." warning network >&2 # This disables additional warnings during the boot process: export DEPRECATION_WARNING_ISSUED='true' diff --git a/network-scripts/ifdown b/network-scripts/ifdown index 9b4add62..d04dad4c 100755 --- a/network-scripts/ifdown +++ b/network-scripts/ifdown @@ -17,9 +17,9 @@ CONFIG=$1 } if ! [ -f /etc/sysconfig/disable-deprecation-warnings ] && ! is_true ${DEPRECATION_WARNING_ISSUED}; then - net_log $"You are using 'ifdown' script provided by 'network-scripts', which are now deprecated." warning ifdown - net_log $"'network-scripts' will be removed in one of the next major releases of RHEL." warning ifdown - net_log $"It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well." warning ifdown + net_log $"You are using 'ifdown' script provided by 'network-scripts', which are now deprecated." warning ifdown >&2 + net_log $"'network-scripts' will be removed in one of the next major releases of RHEL." warning ifdown >&2 + net_log $"It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well." warning ifdown >&2 fi need_config "${CONFIG}" diff --git a/network-scripts/ifup b/network-scripts/ifup index 8d7af318..69b0bd24 100755 --- a/network-scripts/ifup +++ b/network-scripts/ifup @@ -32,9 +32,9 @@ CONFIG=${1} } if ! [ -f /etc/sysconfig/disable-deprecation-warnings ] && ! is_true ${DEPRECATION_WARNING_ISSUED}; then - net_log $"You are using 'ifup' script provided by 'network-scripts', which are now deprecated." warning ifup - net_log $"'network-scripts' will be removed in one of the next major releases of RHEL." warning ifup - net_log $"It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well." warning ifup + net_log $"You are using 'ifup' script provided by 'network-scripts', which are now deprecated." warning ifup >&2 + net_log $"'network-scripts' will be removed in one of the next major releases of RHEL." warning ifup >&2 + net_log $"It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well." warning ifup >&2 fi need_config "${CONFIG}" |