aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-10-12 17:34:15 +0200
committerDee'Kej <deekej@linuxmail.org>2017-10-16 15:18:40 +0200
commit58e46ac6d7978de0938be9d76006b1e92e5931b9 (patch)
tree8dade72cd82641e40091a492b5032b882b0bd7a0 /rc.d/init.d
parent4df132c0119dfd214b2b31bbcd4dc09e4c4901d6 (diff)
downloadinitscripts-58e46ac6d7978de0938be9d76006b1e92e5931b9.tar
initscripts-58e46ac6d7978de0938be9d76006b1e92e5931b9.tar.gz
initscripts-58e46ac6d7978de0938be9d76006b1e92e5931b9.tar.bz2
initscripts-58e46ac6d7978de0938be9d76006b1e92e5931b9.tar.xz
initscripts-58e46ac6d7978de0938be9d76006b1e92e5931b9.zip
sysconfig/init* files dropped
Users can still create the /etc/sysconfig/init file manually to override the default values, which are now taken from init.d/functions.
Diffstat (limited to 'rc.d/init.d')
-rw-r--r--rc.d/init.d/functions13
1 files changed, 11 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index fd685682..63686737 100644
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -78,15 +78,24 @@ if [ -z "${BOOTUP:-}" ]; then
if [ -f /etc/sysconfig/init ]; then
. /etc/sysconfig/init
else
- # This all seem confusing? Look in /etc/sysconfig/init,
- # or in /usr/share/doc/initscripts-*/sysconfig.txt
+ # verbose ->> very (very!) old bootup look (prior to RHL-6.0?)
+ # color ->> default bootup look
+ # other ->> default bootup look without ANSI colors or positioning
BOOTUP=color
+ # Column to start "[ OK ]" label in:
RES_COL=60
+ # terminal sequence to move to that column:
MOVE_TO_COL="echo -en \\033[${RES_COL}G"
+ # Terminal sequence to set color to a 'success' (bright green):
SETCOLOR_SUCCESS="echo -en \\033[1;32m"
+ # Terminal sequence to set color to a 'failure' (bright red):
SETCOLOR_FAILURE="echo -en \\033[1;31m"
+ # Terminal sequence to set color to a 'warning' (bright yellow):
SETCOLOR_WARNING="echo -en \\033[1;33m"
+ # Terminal sequence to reset to the default color:
SETCOLOR_NORMAL="echo -en \\033[0;39m"
+
+ # Verbosity of logging:
LOGLEVEL=1
fi
if [ "$CONSOLETYPE" = "serial" ]; then