help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

little problem with grub2.cfg and if cmd


From: Dany Flores
Subject: little problem with grub2.cfg and if cmd
Date: Fri, 17 May 2013 17:38:53 -0500

Hi All

   This is the problem that I have, using grub 2.0 I have some problem with the if command, this is part of my grub.cfg

  set CQTEST=3
  if [ ${CQTESS} = 3 ]; then
          set GRUB_DEFAULT=2
  else
          set GRUB_DEFAULT=0 
  fi

   Is very simple, but when boot the server, show me an error, error: can't find command `['. 

  I need to do something or load another module or if not possible to do something like my example

Thanks


   

reply via email to

[Prev in Thread] Current Thread [Next in Thread]