dumps /etc/resolv.conf as well in case of curl error 6
[bootcd.git] / initscripts / pl_boot
index 52ddd2c..237c2b1 100755 (executable)
@@ -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)