aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-09-07 18:15:42 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-09-07 18:15:42 +0000
commitd8812c0d0cc8ed3dd279bd1fcc1ce616532e11ba (patch)
treeeee1f52216065776ca7197342b3a2ca8d2ab1eeb /sysconfig
parent9488c4cdd6895c00ca4e521473f488955d45a308 (diff)
downloadinitscripts-d8812c0d0cc8ed3dd279bd1fcc1ce616532e11ba.tar
initscripts-d8812c0d0cc8ed3dd279bd1fcc1ce616532e11ba.tar.gz
initscripts-d8812c0d0cc8ed3dd279bd1fcc1ce616532e11ba.tar.bz2
initscripts-d8812c0d0cc8ed3dd279bd1fcc1ce616532e11ba.tar.xz
initscripts-d8812c0d0cc8ed3dd279bd1fcc1ce616532e11ba.zip
do not read /etc/resolv.conf forever...
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 43b7126e..8110d324 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -34,7 +34,7 @@ if [ "$DEVICETYPE" = ppp -a "$PEERDNS" != no -a -n "$DNS1" ] &&
# and do not know if sed is capable of this...
current_replacement="$DNS1"
next_replacement="$DNS2"
- while read answer < /etc/resolv.conf ; do
+ cat /etc/resolv.conf | while read answer ; do
case $answer in
nameserver*)
if [ -n "$current_replacement" ] ; then