Fix & symbol cock up (again...)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Mark Hymers 2001-07-20 01:02:56 +00:00
parent cccc5902e1
commit edc42bbf45

View File

@ -29,8 +29,8 @@ the following command:
# Get the console device if we don't have it already
# This is ok by the FHS as there is a fallback if
# /usr/bin/tty isn't available, for example at bootup.
test -x /usr/bin/tty && CONSOLE=`/usr/bin/tty`
test -z "$CONSOLE" && CONSOLE=/dev/console
test -x /usr/bin/tty && CONSOLE=`/usr/bin/tty`
test -z "$CONSOLE" && CONSOLE=/dev/console
# Get the console size (rows columns)
SIZE=$(stty size < $CONSOLE)