Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/etc/rc.d pull up rev 1.9 (approved by thorpej):
details: https://anonhg.NetBSD.org/src/rev/ab8663d2aced
branches: netbsd-1-5
changeset: 489212:ab8663d2aced
user: lukem <lukem%NetBSD.org@localhost>
date: Wed Aug 23 12:07:55 2000 +0000
description:
pull up rev 1.9 (approved by thorpej):
migrate raising of securelevel from sysctl to separate securelevel
script. the latter depends upon aftermountlkm (but is required by
DAEMON), so that lkms may be loaded before the securelevel is
raised. noted by Rafal Boni <rafal%mediaone.net@localhost> in [bin/10780]
diffstat:
etc/rc.d/sysctl | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diffs (37 lines):
diff -r aad9846a43c8 -r ab8663d2aced etc/rc.d/sysctl
--- a/etc/rc.d/sysctl Wed Aug 23 12:05:17 2000 +0000
+++ b/etc/rc.d/sysctl Wed Aug 23 12:07:55 2000 +0000
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# $NetBSD: sysctl,v 1.8 2000/06/13 16:29:55 itojun Exp $
+# $NetBSD: sysctl,v 1.8.2.1 2000/08/23 12:07:55 lukem Exp $
#
# PROVIDE: sysctl
-# REQUIRE: root ipnat ipsec
+# REQUIRE: root ipfilter ipsec
. /etc/rc.subr
@@ -30,20 +30,6 @@
__EOF__
fi
- # if $securelevel is set, change it here, else if it is 0,
- # change it to 1 here, before we start login services.
- #
- if [ -n "$securelevel" ]; then
- echo -n "Setting securelevel: "
- sysctl -w kern.securelevel=$securelevel
- else
- securelevel=`sysctl -n kern.securelevel`
- if [ x"$securelevel" = x0 ]; then
- echo -n "Setting securelevel: "
- sysctl -w kern.securelevel=1
- fi
- fi
-
if [ -r /etc/sysctl.conf ]; then
echo "Setting sysctl variables:"
sysctl -f /etc/sysctl.conf
Home |
Main Index |
Thread Index |
Old Index