old-www/HOWTO/XFree-Local-multi-user-HOWTO/distro_spec-suse.html

246 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>SuSE </TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="XFree Local Multi-User HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Special notes on some distributions"
HREF="distro_spec.html"><LINK
REL="PREVIOUS"
TITLE="Debian "
HREF="distro_spec-deb.html"><LINK
REL="NEXT"
TITLE="Final words"
HREF="final_words.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>XFree Local Multi-User HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="distro_spec-deb.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 9. Special notes on some distributions</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="final_words.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="distro_spec-suse"
></A
>9.4. SuSE</H1
><P
></P
><OL
TYPE="1"
><LI
><P
>In <TT
CLASS="filename"
>/etc/init.d/kbd</TT
>, add this line in the very beginning of the file:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>KBD_TTY="tty0 tty2 tty3 tty4 tty5 tty6 tty7"</PRE
></FONT
></TD
></TR
></TABLE
><P
>After modifications:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;#! /bin/sh
# Copyright (c) 1995-2001 SuSE GmbH Nuernberg, Germany.
#
# Author: Burchard Steinbild &#60;bs@suse.de&#62;
# Werner Fink &#60;werner@suse.de&#62;
#
# /etc/init.d/kbd
#
# and symbolic its link
#
# /sbin/rckbd
#
### BEGIN INIT INFO
# Provides: kbd
# Required-Start: $remote_fs
# Required-Stop:
# X-SuSE-Should-Start: fbset serial
# X-SuSE-Should-Stop:
# Default-Start: 1 2 3 5 S
# Default-Stop:
# Description: Keyboard settings (don't disable!)
### END INIT INFO
. /etc/rc.status
. /etc/sysconfig/console
. /etc/sysconfig/keyboard
MACHINE=`/bin/uname -m 2&#62; /dev/null`
if [ "$MACHINE" = "sparc" -o "$MACHINE" = "sparc64" ]; then
# Test if we have a serial console.
(test -c /dev/tty1 &#38;&#38; &#62; /dev/tty1 ) &#62; /dev/null 2&#62;&#38;1 || exit 0
fi
# The variable NON_SUSE_KERNEL determines whether we need to chvt
# to a console before some console settings apply.
# We have no magic to find out about this (at boot time), so we
# leave it to the user to read this comment and put NON_SUSE_KERNEL="yes"
# into /etc/sysconfig/console
KBDBASE="/usr/share/kbd"
KBD_TTY="tty0 tty2 tty3 tty4 tty5 tty6 tty7"
KTABLE=${KEYTABLE%.map*}
KTABLE=${KTABLE##*/}
#
# first search the wanted keytable.
#
if [ $MACHINE = ppc -o $MACHINE = ppc64 ]; then
test -f /proc/cpuinfo || mount -n -t proc proc /proc 2&#62;/dev/null
while read line; do
......
......
</PRE
></FONT
></TD
></TR
></TABLE
></LI
><LI
><P
>Hardware scans sometimes cause problems.</P
><P
>Recommended: disable. If you have to install new hardware and want to use this service, boot with standard kernel and start it manually.</P
></LI
></OL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="distro_spec-deb.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="final_words.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Debian</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="distro_spec.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Final words</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>