diff options
author | Warner Losh <imp@FreeBSD.org> | 1999-03-28 20:36:03 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1999-03-28 20:36:03 +0000 |
commit | a780977066c3fbf595deb401a1b626ec9d7ae1c5 (patch) | |
tree | 9e5e4f2ce6b3d9f5e3345dd10947fe934deb4a0c /etc/rc | |
parent | 55bfaed1c0175f8d18c843b31171ac69354a20ae (diff) | |
download | src-a780977066c3fbf595deb401a1b626ec9d7ae1c5.tar.gz src-a780977066c3fbf595deb401a1b626ec9d7ae1c5.zip |
Add two features:
log_in_vain:
log_in_vain turns on logging for packets to ports for which
there is no listener.
rc.sysctl:
A generic way to set sysctl values. It reads /etc/syslog.conf
and sets values based on that. No /etc/syslog.conf has been
checked in yet, and I've not added this to the makefile yet
until I get more feedback.
Reviewed by: -current, -hackers and bde especially
Notes
Notes:
svn path=/head/; revision=45096
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.182 1999/03/14 20:26:39 des Exp $ +# $Id: rc,v 1.183 1999/03/17 04:00:04 billf Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -150,6 +150,11 @@ if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b fi +# set sysctl variables early as we can +if [ -f /etc/rc.sysctl ]; then + . /etc/rc.sysctl +fi + # configure serial devices if [ -f /etc/rc.serial ]; then . /etc/rc.serial |