aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=