X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Ffunctions;h=90d0c03fc8cb75dffc6f9aa27be0887a73d13cf0;hb=6007645124befc70ffe2fae5500022b215d59ce6;hp=4a436e0ffe435775892fbb7e18349b183751c23c;hpb=3d5766f96a046d0fae736afbb02eed5470e619f6;p=hvlinux.git diff --git a/stage1/bootscripts/functions b/stage1/bootscripts/functions index 4a436e0..90d0c03 100644 --- a/stage1/bootscripts/functions +++ b/stage1/bootscripts/functions @@ -14,7 +14,7 @@ export PATH="/tools/bin:/tools/sbin:/bin:/sbin" ## Screen Dimensions # Find current screen size if [ -z "${COLUMNS}" ]; then - COLUMNS=$(stty size) + COLUMNS=$(stty size < /dev/console) COLUMNS=${COLUMNS##* } fi