From 178798d6fcd11b1614e2cc2b2887bfd0b6799351 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 10 Jan 2011 16:53:15 +0100 Subject: [PATCH] dumps /etc/resolv.conf as well in case of curl error 6 --- initscripts/pl_boot | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.43.0