aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-02-26 01:34:52 -0500
committerBill Nottingham <notting@redhat.com>2008-02-26 01:34:52 -0500
commit39ae04ec465e4a921ef8fe80ec52587e5a7ae627 (patch)
treecf3652991f856f0a80e277f3bac9dddaaa6325b6 /rc.d/rc.sysinit
parent1aed7b771e4b0d61ec2cabdfb267de043eb8cb9f (diff)
downloadinitscripts-39ae04ec465e4a921ef8fe80ec52587e5a7ae627.tar
initscripts-39ae04ec465e4a921ef8fe80ec52587e5a7ae627.tar.gz
initscripts-39ae04ec465e4a921ef8fe80ec52587e5a7ae627.tar.bz2
initscripts-39ae04ec465e4a921ef8fe80ec52587e5a7ae627.tar.xz
initscripts-39ae04ec465e4a921ef8fe80ec52587e5a7ae627.zip
Remove bits that are now extraneous with console_init.
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit33
1 files changed, 0 insertions, 33 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index ee0c5575..0f0a238b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -229,10 +229,6 @@ init_crypto() {
return $ret
}
-if [ -x /sbin/setsysfont -a -c /dev/tty1 ]; then
- /sbin/setsysfont < /dev/tty1 > /dev/tty1 2>/dev/null
-fi
-
# Print a text banner.
echo -en $"\t\tWelcome to "
read -r redhat_release < /etc/redhat-release
@@ -318,35 +314,6 @@ fi
update_boot_stage RCkernelparam
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
-if [ -x /bin/loadkeys ]; then
- KEYTABLE=
- KEYMAP=
- if [ -f /etc/sysconfig/console/default.kmap ]; then
- KEYMAP=/etc/sysconfig/console/default.kmap
- else
- if [ -f /etc/sysconfig/keyboard ]; then
- . /etc/sysconfig/keyboard
- fi
- if [ -n "$KEYTABLE" -a -d "/lib/kbd/keymaps" ]; then
- KEYMAP="$KEYTABLE.map"
- fi
- fi
- if [ -n "$KEYMAP" ]; then
- if [ -n "$KEYTABLE" ]; then
- echo -n $"Loading default keymap ($KEYTABLE): "
- else
- echo -n $"Loading default keymap: "
- fi
- LOADKEYS=loadkeys
- if [ "${LANG}" != "${LANG%%.UTF-8}" -o "${LANG}" != "${LANG%%.utf8}" ]; then
- LOADKEYS="loadkeys -u"
- fi
- $LOADKEYS $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null && \
- success $"Loading default keymap" || failure $"Loading default keymap"
- echo
- fi
-fi
-
# Set the hostname.
update_boot_stage RChostname
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}