History log of /freebsd-10.1-release/etc/rc.d/syscons
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 272112 25-Sep-2014 se

MFC r271958:

Permit use of "no" as specification of a Norwegian keymap file.
Only "keymap=NO" (the default in defaults/rc.conf) or "keymap="
(an empty value) will prevent loading of a keymap file.

Approved by: re (gjb)


# 271095 04-Sep-2014 se

MFC r270647: Add references to vt(4) and the configuration files in /usr/sha
MFC r270653: Update man-pages to correctly refer to changed pathes and namin
MFC r270657: More man pages that need to know about vt in addition to syscon
MFC r270659: (by pluknet@) Missed comma.
MFC r270660: Back-out the references to vt(4) from this man-page. It appears
MFC r270933: Add references to vt(4) to further man-pages.
MFC r270934: Final patches to the tools used to convert syscons keymaps for
MFC r270935: Add vt(4) support to the console initialisation script, specifi

Second batch of MFCs to add support for Unicode keymaps for use with vt(4).

It contains the following changes:

- Add references to vt(4) to relevant man-pages.
- Update comment in defaults/rc.conf to mention vt
- Update rc.d/syscons to warn about syscons keymaps used under vt.
An attempt is made to identify the vt keymap to load instead.
- Minor changes to the conversion tool based on mail comments on keymaps.

Relnotes: yes


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 227366 08-Nov-2011 jilles

rc.d: Eliminate some unnecessary non-POSIX constructs:

* set - ...
* empty braces
* ^ in character class


# 208060 14-May-2010 dougb

Remove trailing white space. No functional changes.


# 180563 16-Jul-2008 dougb

As previously discussed, add the svn:executable property to all scripts


# 179981 24-Jun-2008 mtm

Quiet rc.d/syscons unless it has something to say.


# 167889 25-Mar-2007 brooks

Use "-ne" instead of "!=" for integer comparison.


# 167495 12-Mar-2007 mux

Make "/etc/rc.d/syscons start" correctly reload screensaver settings.

The code looks for all the loaded screensaver modules, tries to
kldunload them, and only loads the new one if kldstat's output shows
that there aren't any left. However, the regexp looking for modules
to unload was still searching according to the the old naming scheme,
splash_<name>.ko, instead of <name>_saver.ko.

MFC after: 3 days


# 165683 31-Dec-2006 yar

Use $required_modules wherever suitable. Use load_kld() in special
cases. So we get rid of quite a few lines of duplicated code.


# 165389 20-Dec-2006 yar

Syscons cannot be stopped, so provide a no-op stop method.
The default stop method from rc.subr isn't suited for this
case and produces a bogus warning: "syscons not running".

Suggested by: matteo


# 158687 17-May-2006 phk

Send the pcvt(4) driver off to retirement.


# 156782 16-Mar-2006 emax

Reorganize /etc/rc.d/syscons and move all keyboard related settings
into one function syscons_configure_keyboard(). Call new function from
both syscons_start() and sysconst_setkeyboard(). The reason for this
is because syscons_start() will (re)configure both keyboard and screen
settings. Apparently, some graphics cards have problems with running
vidcontrol(1) while X11 is running.

Remove "/etc/rc.d/syscons restart" from /etc/devd.conf. It is no longer
required. Using "/etc/rc.d/syscons setkeyboard" is enough. This also
should fix annoying "syscons not running?" message.

Tested by: Ulrich Spoerlein < q at galgenberg dot net >
MFC after: 3 days


# 156331 06-Mar-2006 emax

Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
keyboard device name (i.e. /dev/kbd0). This method will do nothing is
kbdmux(4) is the current active keyboard, otherwise it will switch
active keyboard as requested.

Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons
and new 'setkeyboard' method.

No comments from: freebsd-current@
MFC after: 1 day


# 153430 14-Dec-2005 iedowse

Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by: Anish Mistry


# 136224 07-Oct-2004 mtm

Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days


# 130699 18-Jun-2004 green

Allow setting the system console keyboard via the ${keyboard} rc.conf
directive.


# 126744 08-Mar-2004 pjd

Mark scripts as not usable inside a jail by adding keyword 'nojail'.

Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>


# 123390 10-Dec-2003 peter

Change rc.d/syscons to not need /usr/sbin/ispcvt to exist. This should
make it work for all non-i386 syscons platforms.


# 103161 09-Sep-2002 gordon

Fix syscons so it actually does start.

Reported by: keramida, ume
Submitted by: keramida


# 102993 05-Sep-2002 fenner

Only try to initialize syscons if /dev/ttyv0 exists and it's not a pcvt.


# 100284 18-Jul-2002 dougb

Anonymize the "portmap" program to get better compatibility with
rpcbind in -current.

Submitted by: Alexander Kabaev <ak03@gte.com>


# 100280 18-Jul-2002 gordon

Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by: Mike Makonnen <makonnen@pacbell.net>
Reviewed by: silence on -current and -hackers
Prodded by: rwatson


# 82660 31-Aug-2001 dd

Make the 'echo' output for blanktime and scrnmap consistent with their
variable names. There were minor differences in both cases, which were
needlessly confusing and inconsistent.


# 81357 09-Aug-2001 obrien

Fix minor typo.


# 76110 28-Apr-2001 dd

Add an allscreens_kbdflags option. Same thing as allscreens_flags,
but runs kbdcontrol instead of vidcontrol.

Reviewed by: ru


# 75708 19-Apr-2001 ache

Add mousechar_start hook

Reviewed by: Nick Hibma <n_hibma@qubesoft.com>


# 70856 09-Jan-2001 jhb

Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.