]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub.d/00_header.in: Remove compatibility with terminal.mod
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 21 Jul 2010 04:44:38 +0000 (06:44 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 21 Jul 2010 04:44:38 +0000 (06:44 +0200)
prior to terminal_input/terminal_output separation. It's been over 1.5
years and those versions weren't widely deployed.

ChangeLog
util/grub.d/00_header.in

index e0c2096bb1ddd4dc46d2a7141eb40d9d60641c64..de1edebb18d1de5f3500668e959cbd688429b822 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        (grub_efi_console_fini): New function.
        (grub_console_term_output): Register init and fini methods.
 
+2010-07-20  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub.d/00_header.in: Remove compatibility with terminal.mod
+       prior to terminal_input/terminal_output separation. It's been over 1.5
+       years and those versions weren't widely deployed.
+
 2010-07-20  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * tests/util/grub-shell-tester.in: Remove bashism and declare as
index 75c8b0fa2d907c4bf1b6da3c1ec6aff92f4beb83..2f39650e9b469c7dc757dc7343740307c7faa28b 100644 (file)
@@ -137,11 +137,7 @@ case x${GRUB_TERMINAL_INPUT} in
   ;;
   x*)
     cat << EOF
-if terminal_input ${GRUB_TERMINAL_INPUT} ; then true ; else
-  # For backward compatibility with versions of terminal.mod that don't
-  # understand terminal_input
-  terminal ${GRUB_TERMINAL_INPUT}
-fi
+terminal_input ${GRUB_TERMINAL_INPUT}
 EOF
   ;;
 esac
@@ -152,11 +148,7 @@ case x${GRUB_TERMINAL_OUTPUT} in
   ;;
   x*)
     cat << EOF
-if terminal_output ${GRUB_TERMINAL_OUTPUT} ; then true ; else
-  # For backward compatibility with versions of terminal.mod that don't
-  # understand terminal_output
-  terminal ${GRUB_TERMINAL_OUTPUT}
-fi
+terminal_output ${GRUB_TERMINAL_OUTPUT}
 EOF
   ;;
 esac