diff options
author | Bill Nottingham <notting@redhat.com> | 1999-02-25 17:11:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-02-25 17:11:22 +0000 |
commit | bf72ce488a9d43c9752f926e4bc3f55f8d67a141 (patch) | |
tree | c7e9cdb21075ec273d10b080746f5ef01de252e7 /sysconfig/init | |
parent | 0953f29c6fb338868a9ed616b92ca39af80a0d0e (diff) | |
download | initscripts-bf72ce488a9d43c9752f926e4bc3f55f8d67a141.tar initscripts-bf72ce488a9d43c9752f926e4bc3f55f8d67a141.tar.gz initscripts-bf72ce488a9d43c9752f926e4bc3f55f8d67a141.tar.bz2 initscripts-bf72ce488a9d43c9752f926e4bc3f55f8d67a141.tar.xz initscripts-bf72ce488a9d43c9752f926e4bc3f55f8d67a141.zip |
more changes for sysconfig/init
Diffstat (limited to 'sysconfig/init')
-rw-r--r-- | sysconfig/init | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sysconfig/init b/sysconfig/init index 3b49ec82..4b0f326e 100644 --- a/sysconfig/init +++ b/sysconfig/init @@ -2,11 +2,18 @@ # verbose => old-style bootup # anything else => new style bootup without ANSI colors or positioning BOOTUP=color -# color for 'OK' label ; 2=green -COLOR_SUCCESS=2 -# color for 'FAILED' label ; 1=red -COLOR_FAILURE=1 # column to start "[ OK ]" label in RES_COL=60 +# terminal sequence to move to that column. You could change this +# to something like "tput hpa ${RES_COL}" if your terminal supports it +MOVE_TO_COL="echo -en \"\\033[300C\\033[$[${COLUMNS}-${RES_COL}]D\"" +# terminal sequence to set color to a 'success' color (currently: green) +SETCOLOR_SUCCESS="echo -en \"\\033[1;32m\"" +# terminal sequence to set color to a 'failure' color (currently: red) +SETCOLOR_FAILURE="echo -en \"\\033[1;31m\"" +# terminal sequence to set color to a 'warning' color (currently: yellow) +SETCOLOR_WARNING="echo -en \"\\033[1;33m\"" +# terminal sequence to reset to the default color. +SETCOLOR_NORMAL="echo -en \"\\033[0;39m\"" # default kernel loglevel on boot (syslog will reset this) LOGLEVEL=1 |