Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d This was doubly borken...
details: https://anonhg.NetBSD.org/src/rev/3c691c3f9279
branches: trunk
changeset: 485864:3c691c3f9279
user: tsarna <tsarna%NetBSD.org@localhost>
date: Sun May 07 19:03:25 2000 +0000
description:
This was doubly borken...
diffstat:
etc/rc.d/sysctl | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r b50637d0b8c2 -r 3c691c3f9279 etc/rc.d/sysctl
--- a/etc/rc.d/sysctl Sun May 07 18:21:17 2000 +0000
+++ b/etc/rc.d/sysctl Sun May 07 19:03:25 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: sysctl,v 1.5 2000/05/07 02:04:20 tsarna Exp $
+# $NetBSD: sysctl,v 1.6 2000/05/07 19:03:25 tsarna Exp $
#
# PROVIDE: sysctl
@@ -19,13 +19,14 @@
cat <<__EOF__
*** WARNING: /etc/rc.conf \$defcorename setting is obsolete. Please
*** set kern.defcorename in /etc/sysctl.conf
+__EOF__
sysctl -w kern.defcorename=$defcorename
-__EOF__
fi
- if [ "X$nfsiod_flags" != "X-n 4" ]; then
+ if [ -n "$nfsiod_flags" ]; then
cat <<__EOF__
*** WARNING: /etc/rc.conf \$nfsiod_flags setting is obsolete. Please
+*** remove it. If it was set to other than the default of "-n 4", then
*** set vfs.nfs.iothreads in /etc/sysctl.conf
__EOF__
fi
Home |
Main Index |
Thread Index |
Old Index