From: Thierry Parmentelat Date: Mon, 10 Jan 2011 15:53:15 +0000 (+0100) Subject: dumps /etc/resolv.conf as well in case of curl error 6 X-Git-Tag: bootcd-5.0-7~9 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=fbb28081184fec4f88439ba32f9003fff28eb1bb dumps /etc/resolv.conf as well in case of curl error 6 --- diff --git a/initscripts/pl_boot b/initscripts/pl_boot index 52ddd2c..237c2b1 100755 --- a/initscripts/pl_boot +++ b/initscripts/pl_boot @@ -168,9 +168,10 @@ while : ; do echo $(date "+%H:%M:%S") " we recommend checking your DNS settings. If you cannot, then " echo $(date "+%H:%M:%S") " please double check your network settings registered at PLC and " echo $(date "+%H:%M:%S") " stored on this Boot Image." - for file in `ls /etc/sysconfig/network-scripts/ifcfg-eth*` ; do - echo $(date "+%H:%M:%S") $file : + for file in $(ls /etc/sysconfig/network-scripts/ifcfg-eth* /etc/resolv.conf) ; do + echo $(date "+%H:%M:%S") contents of $file : cat $file + echo $(date "+%H:%M:%S") end of $file : done ;; 60)