trim the list of nameservers from netGetNameserers, there should be no whitespace... 1.02.06
authorMichael Gebetsroither <michael.geb@gmx.at>
Wed, 21 Dec 2005 01:52:43 +0000 (02:52 +0100)
committerMichael Gebetsroither <michael.geb@gmx.at>
Wed, 21 Dec 2005 01:52:43 +0000 (02:52 +0100)
sh-lib

diff --git a/sh-lib b/sh-lib
index 84d45e0..9896f71 100644 (file)
--- a/sh-lib
+++ b/sh-lib
@@ -545,7 +545,7 @@ function netGetNameservers
   fi
   
   setCLang
   fi
   
   setCLang
-  ns_=`awk '/^nameserver/{printf "%s ",$2}' $file_`
+  ns_=`awk '/^nameserver/{printf "%s ",$2}' $file_ |xargs echo`
   restoreLang
   if [ -z "$ns_" ]; then
     if [ -z "$message_" ]; then
   restoreLang
   if [ -z "$ns_" ]; then
     if [ -z "$message_" ]; then
@@ -703,7 +703,7 @@ function _setDebugLevel
   local debug_="${DEBUG:-0}"
   VERBOSE__="$debug_"
 }
   local debug_="${DEBUG:-0}"
   VERBOSE__="$debug_"
 }
-_checkBootParam
+_setDebugLevel
 # }}}
 
 # END OF FILE
 # }}}
 
 # END OF FILE