From e436054d06e1ed5ef94903652ee88f3847da6765 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 29 Jun 1999 16:30:13 +0000 Subject: oops, don't call tty before /usr is mounted --- rc.d/init.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 19a37c45..ff261d3f 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -32,7 +32,7 @@ if [ -z "$BOOTUP" ]; then SETCOLOR_NORMAL="echo -en \\033[0;39m" LOGLEVEL=1 fi - if [ "`tty`" = "not a tty" ]; then + if [ -x /usr/bin/tty -a "`tty`" = "not a tty" ]; then BOOTUP=serial MOVE_TO_COL= SETCOLOR_SUCCESS= -- cgit v1.2.1