summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-07-17 22:03:19 +0000
committerjhb <jhb@FreeBSD.org>2001-07-17 22:03:19 +0000
commit793bf783e36324fa73d6a9634c1fed808ae8b2d8 (patch)
treece2612eb1a8769478d5014288d1088fab682b2e6
parent45c6fea352aa4152125c624d3f02d7be748d3827 (diff)
downloadFreeBSD-src-793bf783e36324fa73d6a9634c1fed808ae8b2d8.zip
FreeBSD-src-793bf783e36324fa73d6a9634c1fed808ae8b2d8.tar.gz
sysctl(8) doesn't need '-w' to write to sysctl variables anymore.
-rw-r--r--etc/rc.d/sysctl2
-rw-r--r--etc/rc.sysctl2
-rw-r--r--etc/sysctl.conf2
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl
index 80af229..bedddb6 100644
--- a/etc/rc.d/sysctl
+++ b/etc/rc.d/sysctl
@@ -38,7 +38,7 @@ if [ -f /etc/sysctl.conf ]; then
\#*|'')
;;
*)
- sysctl -w ${var}
+ sysctl ${var}
;;
esac
done < /etc/sysctl.conf
diff --git a/etc/rc.sysctl b/etc/rc.sysctl
index 80af229..bedddb6 100644
--- a/etc/rc.sysctl
+++ b/etc/rc.sysctl
@@ -38,7 +38,7 @@ if [ -f /etc/sysctl.conf ]; then
\#*|'')
;;
*)
- sysctl -w ${var}
+ sysctl ${var}
;;
esac
done < /etc/sysctl.conf
diff --git a/etc/sysctl.conf b/etc/sysctl.conf
index d4cae09..85125cb 100644
--- a/etc/sysctl.conf
+++ b/etc/sysctl.conf
@@ -1,7 +1,7 @@
# $FreeBSD$
#
# This file is read when going to multi-user and its contents piped thru
-# ``sysctl -w'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
+# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
#vfs.vmiodirenable=0 # Set to 1 to enable the use of the VM subsystem to
OpenPOWER on IntegriCloud