From bf00a00483cfa675ea665d6a0dd40d5629bc928a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C3=84=C2=99drzejewski-Szmek?= Date: Wed, 2 Aug 2017 09:07:44 -0400 Subject: Replace /var/run with /run everywhere https://bugzilla.redhat.com/show_bug.cgi?id=1471489 --- sysconfig/network-scripts/network-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconfig/network-scripts/network-functions') diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index d72901ea..70896ff1 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -283,7 +283,7 @@ do_netreport () { # Notify programs that have requested notification ( - cd /var/run/netreport || exit + cd /run/netreport || exit for i in * ; do if [ -f $i ]; then if [ "$(id -u)" = "0" ]; then @@ -654,7 +654,7 @@ change_resolv_conf () if [ $r -eq 0 ]; then [ -x /sbin/restorecon ] && /sbin/restorecon /etc/resolv.conf >/dev/null 2>&1 # reset the correct context /usr/bin/logger -p local7.notice -t "NET" -i "$0 : updated /etc/resolv.conf" - [ -e /var/run/nscd/socket ] && /usr/sbin/nscd -i hosts # invalidate cache + [ -e /run/nscd/socket ] && /usr/sbin/nscd -i hosts # invalidate cache fi return $r } -- cgit v1.2.1