diff options
author | Jason Vas Dias <jvdias@redhat.com> | 2004-07-30 21:42:12 +0000 |
---|---|---|
committer | Jason Vas Dias <jvdias@redhat.com> | 2004-07-30 21:42:12 +0000 |
commit | 591483f13e955ba024d736da22e3747725c40fd3 (patch) | |
tree | f2b45cd6e8663b65bd566079df059c2a10105725 /sysconfig | |
parent | 2c5cce6396655381d23dfd60bd1610b8d71390be (diff) | |
download | initscripts-591483f13e955ba024d736da22e3747725c40fd3.tar initscripts-591483f13e955ba024d736da22e3747725c40fd3.tar.gz initscripts-591483f13e955ba024d736da22e3747725c40fd3.tar.bz2 initscripts-591483f13e955ba024d736da22e3747725c40fd3.tar.xz initscripts-591483f13e955ba024d736da22e3747725c40fd3.zip |
fix for bug 125712: added change_resolv_conf function to network-functions; made ipup-post and ipdown-post invoke it
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 1e883221..76879cf4 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -379,7 +379,7 @@ change_resolv_conf () (echo -e "$s" > /etc/resolv.conf;) >/dev/null 2>&1; r=$? if [ $r -eq 0 ]; then - /usr/bin/logger -p local7.notice -t NET "$0 : updated /etc/resolv.conf"; + /sbin/initlog -f local7 -p notice -n NET -s "$0 : updated /etc/resolv.conf"; /sbin/service nscd condrestart >/dev/null 2>&1; return $?; fi; |