From b1d5aa579fc24949aae9ccad218e23952f77f321 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 2 May 2011 15:37:38 -0700 Subject: Update grub config to new syntax The 'terminal' config statement is replaced by terminal_input and terminal_output. --- scripts/vyatta-grub-setup | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 0c83ff4d..8c57ccec 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -168,7 +168,7 @@ fi echo "set timeout=5" # set serial console options echo -e "serial --unit=0 --speed=9600" - echo "terminal serial" + echo "terminal_output --append serial" if [ ${ROOT_PARTITION:0:2} = "md" ]; then echo "" @@ -179,12 +179,7 @@ fi echo "" echo "echo -n Press ESC to enter the Grub menu..." echo "if sleep --verbose --interruptible 5 ; then" - echo -e "\tterminal console" - echo -e "\techo -n Press the ESC key to enter the Grub menu..." - echo -e "\tif sleep --verbose --interruptible 5 ; then" - echo -e "\t\tterminal serial" - ## don't set timeout here. causes boot problem on 64-bit - # echo -e "\t\tset timeout=0" + echo -e "\tterminal_input console serial" echo -e "\tfi" echo "fi" echo "" -- cgit v1.2.3