This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
# Do i386 specific processing
|
|
|
|
#
|
|
|
|
|
1997-04-27 03:59:19 +00:00
|
|
|
echo -n 'Initial rc.i386 initialization:'
|
1999-09-13 15:44:20 +00:00
|
|
|
|
|
|
|
case ${apm_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
1997-04-28 05:51:57 +00:00
|
|
|
echo -n ' apm'
|
|
|
|
apmconf -e > /dev/null 2>&1
|
1999-09-13 15:44:20 +00:00
|
|
|
APMCONF_DONE=yes
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
case ${apmd_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
|
|
|
case ${APMCONF_DONE} in
|
|
|
|
'')
|
|
|
|
echo -n ' apm'
|
|
|
|
apmconf -e > /dev/null 2>&1
|
|
|
|
;;
|
|
|
|
esac
|
1997-04-28 05:51:57 +00:00
|
|
|
|
1999-07-11 04:05:45 +00:00
|
|
|
echo -n ' apmd'; apmd ${apmd_flags}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
1999-07-10 18:02:42 +00:00
|
|
|
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
# Start the SCO binary emulation if requested.
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${ibcs2_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
|
|
|
echo -n ' ibcs2'; ibcs2 > /dev/null 2>&1
|
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
1999-09-15 11:17:59 +00:00
|
|
|
# Start the Linux binary compatibility if requested.
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${linux_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
|
|
|
echo -n ' linux'; linux > /dev/null 2>&1
|
|
|
|
;;
|
|
|
|
esac
|
1995-10-28 12:44:13 +00:00
|
|
|
|
1999-01-30 07:22:29 +00:00
|
|
|
# Start the SysVR4 binary emulation if requested.
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${svr4_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
|
|
|
echo -n ' svr4'; svr4 > /dev/null 2>&1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
case ${xtend_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
1995-04-09 09:54:51 +00:00
|
|
|
echo -n ' xtend'; /usr/libexec/xtend
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1995-11-29 20:40:36 +00:00
|
|
|
echo '.'
|
|
|
|
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
##########################################################################
|
|
|
|
####### Syscons section ########
|
|
|
|
##########################################################################
|
|
|
|
|
1995-05-26 18:06:52 +00:00
|
|
|
# stdin must be redirected because it might be for a serial console
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
1995-05-26 18:06:52 +00:00
|
|
|
kbddev=/dev/ttyv0
|
|
|
|
viddev=/dev/ttyv0
|
|
|
|
|
1997-04-27 03:59:19 +00:00
|
|
|
echo -n "rc.i386 configuring syscons:"
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# keymap
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${keymap} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' keymap'; kbdcontrol < ${kbddev} -l ${keymap}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# keyrate
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${keyrate} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' keyrate'; kbdcontrol < ${kbddev} -r ${keyrate}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
1997-04-28 10:07:21 +00:00
|
|
|
# keybell
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${keybell} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' keybell'; kbdcontrol < ${kbddev} -b ${keybell}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
1997-04-28 10:07:21 +00:00
|
|
|
|
1995-03-30 09:39:51 +00:00
|
|
|
# change function keys
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${keychange} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1995-03-30 09:39:51 +00:00
|
|
|
echo -n " keychange"
|
|
|
|
set - ${keychange}
|
1999-09-13 15:44:20 +00:00
|
|
|
while [ $# -gt 0 ]; do
|
1995-05-26 18:06:52 +00:00
|
|
|
kbdcontrol <${kbddev} -f "$1" "$2"
|
1995-03-30 09:39:51 +00:00
|
|
|
shift; shift
|
|
|
|
done
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
1995-03-30 09:39:51 +00:00
|
|
|
|
1995-04-04 17:34:55 +00:00
|
|
|
# cursor type
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${cursor} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' cursor'; vidcontrol < ${viddev} -c ${cursor}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
1995-04-04 17:34:55 +00:00
|
|
|
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
# screen mapping
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${scrnmap} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' screen_map'; vidcontrol < ${viddev} -l ${scrnmap}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# font 8x16
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${font8x16} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' font8x16'; vidcontrol < ${viddev} -f 8x16 ${font8x16}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# font 8x14
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${font8x14} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' font8x14'; vidcontrol < ${viddev} -f 8x14 ${font8x14}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# font 8x8
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${font8x8} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' font8x8'; vidcontrol < ${viddev} -f 8x8 ${font8x8}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# blank time
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${blanktime} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1999-08-25 16:01:45 +00:00
|
|
|
echo -n ' blank_time'; vidcontrol < ${viddev} -t ${blanktime}
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.
Comments:
(a) sysconfig is still used to do all configuration. I was not going to
change that out from under you.... a user never need edit netstart
or rc* unless they're being very weird.
(b) rc.maint has been folded back into rc. It is just unworkable as
a separate chunk because of ordering bogosities
(c) netstart does what it says... it starts up enough of the network to
get up, it doesn't start every bloody daemon that might talk to a
socket... netstart ifconfig's the devices and sets up routing if
configured to do so.
(d) nfs disks are mounted immediately after netstart completes
(e) syslog is started as early as possible (right after nfs) so that error
messages can get logged to remote syslog servers properly
(f) named is started (there is an argument that says that named should be
started before syslogd because if you are the dns server for your domain,
you'd like named to resolve remote hosts in syslog.conf, but this is
a minority case and the trivial workarround is to put the syslog host
in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
to catch named errors, which is a MUCH more important and likely occurance)
(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
NIS, NFS, Kerberos and inetd are started
(h) the rest of the generic stuff is done (cron/printer/sendmail)
(i) shared libraries are set
(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
xtend, and all of the syscons stuff
(this is actually started as /etc/rc.`uname -m`
(k) the syscons stuff has gotten a serious cleaning to make it consistent
with rc conventions
(l) rc.local has had the comments about syscons removed (they are not relevant
to this file now) and the full name of the kernel has been restored to
/etc/motd
Submitted by: pts
1995-03-30 06:26:19 +00:00
|
|
|
|
|
|
|
# screen saver
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${saver} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1995-11-29 20:40:36 +00:00
|
|
|
echo -n ' screensaver'
|
1999-01-29 18:09:38 +00:00
|
|
|
for i in `kldstat | awk '$5 ~ "^splash_.*$" { print $5 }'`; do
|
1999-08-25 16:01:45 +00:00
|
|
|
kldunload ${i}
|
1999-01-29 18:09:38 +00:00
|
|
|
done
|
1998-11-11 05:25:32 +00:00
|
|
|
kldstat -v | grep -q _saver || kldload ${saver}_saver
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
1995-04-10 01:39:13 +00:00
|
|
|
|
1996-06-23 20:54:42 +00:00
|
|
|
# mouse daemon
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${moused_enable} in
|
|
|
|
[Yy][Ee][Ss])
|
1996-06-23 20:54:42 +00:00
|
|
|
echo -n ' moused'
|
1997-05-19 07:46:51 +00:00
|
|
|
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
|
1999-08-25 16:01:45 +00:00
|
|
|
vidcontrol < ${viddev} -m on
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
1998-04-02 15:17:52 +00:00
|
|
|
|
1998-04-02 15:33:49 +00:00
|
|
|
# set this mode for all virtual screens
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
if [ -n "${allscreens_flags}" ]; then
|
1998-04-02 15:17:52 +00:00
|
|
|
echo -n ' allscreens'
|
1999-09-13 15:44:20 +00:00
|
|
|
for ttyv in /dev/ttyv*; do
|
1999-08-25 16:01:45 +00:00
|
|
|
vidcontrol < ${ttyv} ${allscreens_flags}
|
1998-04-02 15:17:52 +00:00
|
|
|
done
|
|
|
|
fi
|
1999-09-13 15:44:20 +00:00
|
|
|
|
1995-11-29 20:40:36 +00:00
|
|
|
echo '.'
|
|
|
|
|
1995-11-13 21:33:04 +00:00
|
|
|
# interrupts for /dev/random device
|
1999-09-13 15:44:20 +00:00
|
|
|
#
|
|
|
|
case ${rand_irqs} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
1997-04-28 05:51:57 +00:00
|
|
|
echo -n 'entropy IRQs:'
|
|
|
|
for irq in ${rand_irqs}; do
|
1997-07-06 07:19:14 +00:00
|
|
|
echo -n " ${irq}" && rndcontrol -q -s ${irq}
|
1997-04-28 05:51:57 +00:00
|
|
|
done
|
1997-04-27 03:59:19 +00:00
|
|
|
echo '.'
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|