aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-08-06 11:15:47 +0200
committerDee'Kej <deekej@linuxmail.org>2018-08-06 13:05:14 +0200
commitb163b3a66dc3684181f219f424e2dd81eff691f6 (patch)
tree34c8f2e475e11e4c91337c49e7bcb7b427eeab50 /etc
parenta5703b885834fd47adcbf196f3e721b365c2b7f2 (diff)
downloadinitscripts-b163b3a66dc3684181f219f424e2dd81eff691f6.tar
initscripts-b163b3a66dc3684181f219f424e2dd81eff691f6.tar.gz
initscripts-b163b3a66dc3684181f219f424e2dd81eff691f6.tar.bz2
initscripts-b163b3a66dc3684181f219f424e2dd81eff691f6.tar.xz
initscripts-b163b3a66dc3684181f219f424e2dd81eff691f6.zip
network/ifup/ifdown: deprecations warnings redirected to stderr
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/init.d/network6
1 files changed, 3 insertions, 3 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'