diff options
author | Bill Nottingham <notting@redhat.com> | 1999-09-13 22:32:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-09-13 22:32:22 +0000 |
commit | c869540984a1342361dfeb00613e1002543b96fa (patch) | |
tree | 35444ad35a6c26a2a6f6558c07aae3b655ab58bc /rc.d/init.d | |
parent | 474609c1735d42d865a72558fadfab61fe4e79a2 (diff) | |
download | initscripts-c869540984a1342361dfeb00613e1002543b96fa.tar initscripts-c869540984a1342361dfeb00613e1002543b96fa.tar.gz initscripts-c869540984a1342361dfeb00613e1002543b96fa.tar.bz2 initscripts-c869540984a1342361dfeb00613e1002543b96fa.tar.xz initscripts-c869540984a1342361dfeb00613e1002543b96fa.zip |
Duh. Use different terminal escape.
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/functions | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 1ecdfa13..37b6ced7 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -1,4 +1,3 @@ - #!/bin/sh # # functions This file contains functions to be used by most or all @@ -25,7 +24,7 @@ if [ -z "$BOOTUP" ]; then # or in /usr/doc/initscripts-*/sysconfig.txt BOOTUP=color RES_COL=60 - MOVE_TO_COL="echo -en \\033[300C\\033[$[${COLUMNS}-${RES_COL}]D" + MOVE_TO_COL="echo -en \\033[${RES_COL}G" SETCOLOR_SUCCESS="echo -en \\033[1;32m" SETCOLOR_FAILURE="echo -en \\033[1;31m" SETCOLOR_WARNING="echo -en \\033[1;33m" |