|
@@ -1,4 +1,4 @@
|
|
|
-#!/bin/sh
|
|
|
+#!/bin/bash
|
|
|
########################################################################
|
|
|
# Begin rc
|
|
|
#
|
|
@@ -110,7 +110,10 @@ fi
|
|
|
if [ "$runlevel" == "6" -o "$runlevel" == "0" ]; then IPROMPT="no"; fi
|
|
|
|
|
|
# Note: In ${LOGLEVEL:-7}, it is ':' 'dash' '7', not minus 7
|
|
|
-if [ "$runlevel" == "S" ]; then dmesg -n "${LOGLEVEL:-7}"; fi
|
|
|
+if [ "$runlevel" == "S" ]; then
|
|
|
+ [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console
|
|
|
+ dmesg -n "${LOGLEVEL:-7}"
|
|
|
+fi
|
|
|
|
|
|
if [ "${IPROMPT}" == "yes" -a "${runlevel}" == "S" ]; then
|
|
|
# The total length of the distro welcome string, without escape codes
|