summaryrefslogtreecommitdiffstats
path: root/sbin/init
Commit message (Collapse)AuthorAgeFilesLines
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Fix typo present since 1997: single used mode -> single user mode.asmodai2001-03-031-1/+1
|
* Fix a cosmetic problem with some very defensive programming: The devfsphk2001-02-081-1/+17
| | | | mount would show up as "/dev/", loose that trailing slash.
* Further tidy up the sbin/init and release builds.peter2001-01-011-28/+2
|
* This is not necessarily the correct fix, but at least sbin/init compilesphk2001-01-011-8/+11
| | | | in a sterile environment like "make release"
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* Explicitly document the fact that securelevel > 0 means that kernel modulesben2000-12-071-1/+5
| | | | | | | may not be (un)loaded. PR: 23350 Submitted by: Gordon Tetlow <gordont@bluemtn.net>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Improve the clarification of the handling of the securelevel.sheldonh2000-09-131-6/+2
| | | | Submitted by: bde
* Clarify the handling of the securelevel.sheldonh2000-09-121-8/+13
| | | | PR: 20974
* Mount DEVFS with no options.phk2000-08-261-1/+1
|
* Add MLINK init.8 --> securelevel.8alex2000-06-091-0/+1
| | | | | | Requested by: Brett Glass <brett@lariat.org> PR: 13792 Submitted by: nik
* Remove unused include.asmodai2000-05-011-1/+0
|
* Add include of errno.h where needed, remove extern int errno where not.imp2000-04-141-2/+0
| | | | These commits were inspired by a similar commit to netbsd.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Change DISTRIBUTION to match new world order.markm2000-02-291-1/+1
|
* detect deleted tty lines in /etc/ttys.alfred2000-02-191-1/+25
|
* Document that securelevel >= 2 clamps time changes to at most one second.nik1999-12-161-0/+4
| | | | | PR: docs/14449 Submitted by: James FitzGibbon <james@targetnet.com>
* Correct the ttys.5 and init.8 manpages with respect to the incorrectsheldonh1999-12-061-7/+20
| | | | | | | | | assumption that only getty processes can be managed. Describe the SysV-like ability to keep arbitrary long-running processes alive using a non-device first field in /etc/ttys. PR: 12767 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Finish up umntall support. init now passed an argument to thedillon1999-11-221-3/+8
| | | | | | | | | rundown script 'reboot' or 'single'. ISO support (which never worked) has been removed from mount_nfs. mount_nfs and umount now use mounttab, which allows umntall to work properly. The rc scripts now call umntall as appropriate. Submitted by: Martin Blapp <mb@imp.ch>
* FreeBSD kernel doesn't allow any process to decrease securelevel. So,kato1999-09-062-8/+1
| | | | | | | init(8) cannot decrease securelevel. The manual page explains this and single_user() doesn't try to downgrade kernel to insecure mode. Reviewed by: bde (manual page)
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Backup existing init(8) as /sbin/init.bak.ru1999-08-051-3/+9
| | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Fix a non-critical memory leak.ru1999-07-231-4/+6
| | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* "Cannot" is one word. "Can not" has a different meaning if takenmph1999-07-051-3/+3
| | | | literally.
* Turn System V command line syntax ``on'' by default.ru1999-07-012-12/+4
| | | | | Requested by: peter Reviewed by: des, billf
* Bring in System V run-level patches (turned off by default).ru1999-06-183-23/+97
| | | | | | While I'm here, fix some typos in the manpage. Requested by: des
* Init(8) will halt the system if sent USR1 signal,ru1999-06-162-8/+23
| | | | | | | | | or halt and turn the power off if sent SIGUSR2. PR: 5451 Submitted by: Leif Neland <leifn@image.dk> Reworked by: ru Reviewed by: -hackers
* Mention securelevel 3 as affecting ipfw and dummynet. Generalize commentghelmer1998-12-161-2/+11
| | | | | about fdisk and securelevel 2. PR: docs/7785
* Memory management error in init.phk1998-07-221-2/+5
| | | | | | PR: 7320 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
* Correct .Nm use. Add rcsid. Use min for minutes instead of mn.charnier1998-07-062-36/+38
|
* Fixes per PR 2850:jkoshy1998-06-191-5/+18
| | | | | | | | | | | (a) Note that the default securelevel value is -1, in -current and -stable. (b) Mention kernel sysctl variable that controls securelevel. (c) Add warning the `fsck' will fail if securelevel >= 2. (d) Suggest end of /etc/rc as the right place to raise securelevel. and one spelling fix. PR: 2850
* Don't assume sigset_t and int are equivalent.jraynard1998-03-021-2/+2
|
* Removed definition of _NEW_VFSCONF. The new vfsconf interface is nowbde1998-01-201-2/+2
| | | | the default.
* This has always bugged me. At single user, the implied example it givespeter1997-10-101-2/+2
| | | | | | is not valid - it says that "sh" is the default, but you can't actually type "sh" at this prompt - it has to be /bin/sh or some other full pathname.
* ".if exists(${CURDIR}/../../secure)" rather than testing relative to thedavidn1997-08-181-2/+2
| | | | object directory.
* Test that rc.shutdown exists before attempting to run it - silentlydavidn1997-08-181-1/+13
| | | | return success if it doesn't to prevent any unwanted error msgs.
* runshutdown(): get rid of getdtablesize loop, it gains nothing nowache1997-08-061-4/+1
| | | | but can waste time if many descriptors are available
* rc.shutdown fixes:ache1997-08-061-12/+12
| | | | | | 1) revoke -> HUP 2) controlling terminal already present 3) add missing setprocresources call
* Add /etc/rc.shutdown capability to init.davidn1997-08-023-18/+171
| | | | | Add sample /etc/rc.shutdown (which is just a shell for now). Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
* Move logwtmp(shutdown) call before any real action in death().ache1997-07-081-4/+4
|
* 1. Replace malloc+bzero by callocache1997-07-051-28/+5
| | | | 2. Revoke internal active session list only now, not whole /etc/ttys
* Add -D_NEW_VFSCONF to eliminate compilation warningache1997-07-051-2/+2
|
* death: revoke all lines listed in /etc/ttys instead of sending HUPache1997-07-041-3/+27
| | | | to all processes
* Include <libutil.h> instead of private declarationsache1997-07-031-8/+2
|
* Remove unneded cast in login_getclassbyname which cause warningache1997-07-021-2/+2
|
* Attempt to open the device for reading before actually adding the devicepst1997-06-281-1/+14
| | | | | | | | | to the session list. If the device comes back as unconfigured, just ignore that line in /etc/ttys. If someone HUP's init, we'll try again. This change stops getty's from hanging on vty and sio ports that don't exist, either due to LKM drivers not being loaded, or probes failing. Reviewed by: bde
* Use err(3).charnier1997-06-131-8/+7
|
* Be more specific as to which flags may not be turned off when thempp1997-04-011-2/+3
| | | | | | system is running in secure mode. Obtained from: NetBSD PR# 3299
OpenPOWER on IntegriCloud