diff options
author | dougb <dougb@FreeBSD.org> | 2002-03-17 20:14:11 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2002-03-17 20:14:11 +0000 |
commit | ffa228092d8f802a7033232a2fd2729576431d6b (patch) | |
tree | f7138699f813eeaef053897d02a89ef59ec66f51 /etc/rc | |
parent | 02b4c46fb1f879af2191c83af47b3d005d8393cb (diff) | |
download | FreeBSD-src-ffa228092d8f802a7033232a2fd2729576431d6b.zip FreeBSD-src-ffa228092d8f802a7033232a2fd2729576431d6b.tar.gz |
Distinguish between first and last passes of rc.sysctl, and only set
mibs whose values are not already what is specified in sysctl.conf.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -404,8 +404,7 @@ esac # Early pass to set the variables we can # if [ -r /etc/rc.sysctl ]; then - echo 'Warnings here may be due to modules that have not been loaded yet' - . /etc/rc.sysctl + . /etc/rc.sysctl first fi # Configure serial devices @@ -918,7 +917,7 @@ fi # Late pass to set variables we missed the first time # if [ -r /etc/rc.sysctl ]; then - . /etc/rc.sysctl + . /etc/rc.sysctl last fi # Raise kernel security level. This should be done only after `fsck' has |