From b163b3a66dc3684181f219f424e2dd81eff691f6 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Mon, 6 Aug 2018 11:15:47 +0200 Subject: network/ifup/ifdown: deprecations warnings redirected to stderr --- etc/rc.d/init.d/network | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') 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' -- cgit v1.2.1