| #
5eb80bf1
|
| 02-Sep-2025 |
Ed Maste <emaste@FreeBSD.org> |
moused,syscons: Avoid warning if system has no /dev/ttyv*
A VM had no virtual terminals and emitted a warning on boot `eval: cannot open /dev/ttyv*: No such file or directory`.
Break the loop in th
moused,syscons: Avoid warning if system has no /dev/ttyv*
A VM had no virtual terminals and emitted a warning on boot `eval: cannot open /dev/ttyv*: No such file or directory`.
Break the loop in this case to avoid the warning.
PR: 289173 Reviewed by: jlduran Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52344
show more ...
|
| #
d783591a
|
| 27-Jun-2025 |
Mark Johnston <markj@FreeBSD.org> |
Revert "rc: Fix scripts that need pathname expansion"
The commit which motivated this is being reverted.
This reverts commit 7faddeb395b7976b44393db24f48ec47040eff07.
|
| #
7faddeb3
|
| 14-Jun-2025 |
Hiroki Sato <hrs@FreeBSD.org> |
rc: Fix scripts that need pathname expansion
Reported by: Kenneth Raplee Differential Revision: https://reviews.freebsd.org/D45855
|
| #
f99f0ee1
|
| 22-May-2024 |
Alexander Leidinger <netchild@FreeBSD.org> |
rc.d: add a service jails config to all base system services
This gives more permissions to services (e.g. network access to services which require this) when they are started as an automatic servic
rc.d: add a service jails config to all base system services
This gives more permissions to services (e.g. network access to services which require this) when they are started as an automatic service jail.
The sshd patch is important for the sshd-related functionality as described in the man-page in the service jails part.
The location of the added env vars is supposed to allow overriding them in rc.conf, and to hard-disable the use of svcj for some parts where it doesn't make sense or will not work.
Only a subset of all of the services are fully tested (I'm running this since more than a year with various services started as service jails). The untested parts should be most of the time ok, in some edge-cases more permissions are needed inside the service jail. Differential Revision: https://reviews.freebsd.org/D40371
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
3662862f
|
| 31-Jan-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
rc: syscons: Add UEFI special case
Changing cursor, screenmap and setting blanktime doesn't work when booted with vt(4) and UEFI so add a special case for those depending on machdep.bootmethods. I h
rc: syscons: Add UEFI special case
Changing cursor, screenmap and setting blanktime doesn't work when booted with vt(4) and UEFI so add a special case for those depending on machdep.bootmethods. I have no way to test if this can work with vt(4) and bios boot so just in case keep calling those for this.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D38293
show more ...
|
| #
98b04ac3
|
| 25-Oct-2020 |
Ed Maste <emaste@FreeBSD.org> |
rc.d/syscons: remove spaces before tab
|
| #
b11974c2
|
| 10-Apr-2019 |
Chris Rees <crees@FreeBSD.org> |
Revert r346017 pending compiled-in zfs fix
PR: 237172 Approved by: jilles Differential Revision: https://reviews.freebsd.org/D18670
|
| #
f5dfe75d
|
| 07-Apr-2019 |
Chris Rees <crees@FreeBSD.org> |
Remove now unnecessary kldstat check before attempting to load modules.
Since r233109, kldload has the -n option, which silently ignores options that are already loaded.
https://lists.freebsd.org/p
Remove now unnecessary kldstat check before attempting to load modules.
Since r233109, kldload has the -n option, which silently ignores options that are already loaded.
https://lists.freebsd.org/pipermail/freebsd-rc/2018-December/003899.html
Note that this script no longer reports if the module is already loaded, but it could be argued this wasn't particularly useful information.
PR: docs/234248 Reviewed by: bcr (docs), kib, rgrimes (visual) Approved by: jilles Differential Revision: https://reviews.freebsd.org/D18670
show more ...
|
| #
0696600c
|
| 17-Oct-2018 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update bec
Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update because an rc script was touched. (a follow-up commit will make init its own package) * having rc in its own place will allow more easy replacement of the rc framework with alternatives, such as openrc.
Discussed with: brd (during BSDCam), kmoore Requested by: cem, bz PR: 231522 Approved by: re (gjb)
show more ...
|
| #
1135e97b
|
| 28-Jul-2018 |
Brad Davis <brd@FreeBSD.org> |
Move rc startup scripts from etc/ to sbin/init/
This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan.
Approved by: will (mentor) Differential Revision:
Move rc startup scripts from etc/ to sbin/init/
This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan.
Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16466
show more ...
|
| #
2b375b4e
|
| 28-Jan-2017 |
Yoshihiro Takahashi <nyan@FreeBSD.org> |
Remove pc98 support completely. I thank all developers and contributors for pc98.
Relnotes: yes
|
| #
6c1a5e83
|
| 23-Apr-2016 |
Lars Engels <lme@FreeBSD.org> |
- Add descriptions to most of the rc scripts. Those are mostly taken from their daemon's manpage and probably improved. - Consistently use "filesystem" not "file system".
Approved by: bapt, brueff
- Add descriptions to most of the rc scripts. Those are mostly taken from their daemon's manpage and probably improved. - Consistently use "filesystem" not "file system".
Approved by: bapt, brueffer Differential Revision: D452
show more ...
|
| #
e4919241
|
| 03-Nov-2014 |
John-Mark Gurney <jmg@FreeBSD.org> |
use tab instead of spaces like the rest of the file..
|
| #
0fc950b7
|
| 22-Sep-2014 |
Stefan Eßer <se@FreeBSD.org> |
The new naming scheme for keymap files for use with vt(4) introduced a collision for "no" as a country code with "NO" meaning "do not load any keymap" (which also has been the default value in etc/de
The new naming scheme for keymap files for use with vt(4) introduced a collision for "no" as a country code with "NO" meaning "do not load any keymap" (which also has been the default value in etc/defaults/rc.conf for a long time).
The result of this collision is, that "kbdcontrol -l no" will load the Norwegian keymap, while "keymap=no" in rc.conf was interpreted as the lower case spelling of "NO" meaning "no keyboard" (and "no.kbd" was not loaded).
Fix this by matching only the upper-case spelling "NO" in rc.d/syscons when deciding whether to load a keymap file.
This will lead to "no.kbd" being loaded, if the until now valid (but non-default) spelling "no" was used in an individual rc.conf file to mean "no keyboard". But all alternatives I could think of introduce a larger violation of POLA ...
Reported by: Gyrd Thane Lange (gyrd-se at thanelange.no) MFC after: 3 days
show more ...
|
| #
c1b0ea2c
|
| 01-Sep-2014 |
Stefan Eßer <se@FreeBSD.org> |
Add vt(4) support to the console initialisation script, specifically:
- Identify the console driver used and print syscons or vt as appropriate.
- If vt is used and a keymap could not be loaded, th
Add vt(4) support to the console initialisation script, specifically:
- Identify the console driver used and print syscons or vt as appropriate.
- If vt is used and a keymap could not be loaded, then try to replace the keymap name configured in rc.conf based on a replacement list in this script. Warn about the fact, that a syscons keyname is configured and report the replacement used under vt.
- If no replacement keymap is found, no keymap is loaded and a warning is displayed, which points at the conversion script and allows the conversion of keymaps not part of the official distribution.
This patch has been sent to the -hackers list for review, but no comment has been received, yet. It is tested to work under syscons and vt on my system (on vt with either the syscons or vt keymap file name in rc.conf).
MFC after: 3 days
show more ...
|
| #
e60150fa
|
| 08-Nov-2011 |
Jilles Tjoelker <jilles@FreeBSD.org> |
rc.d: Eliminate some unnecessary non-POSIX constructs:
* set - ... * empty braces * ^ in character class
|
| #
2557f5bf
|
| 14-May-2010 |
Doug Barton <dougb@FreeBSD.org> |
Remove trailing white space. No functional changes.
|
| #
2b985169
|
| 16-Jul-2008 |
Doug Barton <dougb@FreeBSD.org> |
As previously discussed, add the svn:executable property to all scripts
|
| #
522b9831
|
| 24-Jun-2008 |
Mike Makonnen <mtm@FreeBSD.org> |
Quiet rc.d/syscons unless it has something to say.
|
| #
3f857d81
|
| 25-Mar-2007 |
Brooks Davis <brooks@FreeBSD.org> |
Use "-ne" instead of "!=" for integer comparison.
|
| #
fffe34c5
|
| 12-Mar-2007 |
Maxime Henrion <mux@FreeBSD.org> |
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 s
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
show more ...
|
| #
0c306390
|
| 31-Dec-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Use $required_modules wherever suitable. Use load_kld() in special cases. So we get rid of quite a few lines of duplicated code.
|
| #
a9e42d31
|
| 20-Dec-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
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
|
| #
f6ce2a64
|
| 17-May-2006 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Send the pcvt(4) driver off to retirement.
|