aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-06-29 16:30:13 +0000
committerBill Nottingham <notting@redhat.com>1999-06-29 16:30:13 +0000
commite436054d06e1ed5ef94903652ee88f3847da6765 (patch)
tree50a8e153846c7a9f21ba12326d91f6f544acd3db /rc.d
parent83694c0613db2ff6869f61dac6192a61105a1fbb (diff)
downloadinitscripts-e436054d06e1ed5ef94903652ee88f3847da6765.tar
initscripts-e436054d06e1ed5ef94903652ee88f3847da6765.tar.gz
initscripts-e436054d06e1ed5ef94903652ee88f3847da6765.tar.bz2
initscripts-e436054d06e1ed5ef94903652ee88f3847da6765.tar.xz
initscripts-e436054d06e1ed5ef94903652ee88f3847da6765.zip
oops, don't call tty before /usr is mounted
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
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=