diff options
author | dd <dd@FreeBSD.org> | 2002-05-11 06:06:11 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2002-05-11 06:06:11 +0000 |
commit | 1a506b7f476d48d8568fcecc4847d3dcbad2f278 (patch) | |
tree | 566485310aaf5fcf65c3e31afc43e4b381c422df | |
parent | 65ea494ab5396a74c2c86608540ceb5f32689d1a (diff) | |
download | FreeBSD-src-1a506b7f476d48d8568fcecc4847d3dcbad2f278.zip FreeBSD-src-1a506b7f476d48d8568fcecc4847d3dcbad2f278.tar.gz |
sysctl -w -> sysctl
-rw-r--r-- | release/picobsd/dial/floppy.tree/etc/mfs.rc | 2 | ||||
-rw-r--r-- | release/picobsd/mfs_tree/etc/rc.network | 8 | ||||
-rw-r--r-- | release/picobsd/net/floppy.tree/etc/rc.network | 8 | ||||
-rw-r--r-- | release/picobsd/router/floppy.tree/etc/mfs.rc | 2 | ||||
-rw-r--r-- | share/examples/isdn/FAQ | 2 | ||||
-rw-r--r-- | sys/compat/linux/linux_mib.c | 4 | ||||
-rw-r--r-- | sys/conf/kern.post.mk | 2 | ||||
-rw-r--r-- | sys/dev/bktr/bktr_card.h | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/release/picobsd/dial/floppy.tree/etc/mfs.rc b/release/picobsd/dial/floppy.tree/etc/mfs.rc index fe32516..efeb686 100644 --- a/release/picobsd/dial/floppy.tree/etc/mfs.rc +++ b/release/picobsd/dial/floppy.tree/etc/mfs.rc @@ -13,7 +13,7 @@ export PATH trap "echo 'Reboot interrupted'; exit 1" 3 -sysctl -w vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 2>&1 >/dev/null +sysctl vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 2>&1 >/dev/null echo "" echo "-------------------------------------------" diff --git a/release/picobsd/mfs_tree/etc/rc.network b/release/picobsd/mfs_tree/etc/rc.network index 8244681..3cd6d5d 100644 --- a/release/picobsd/mfs_tree/etc/rc.network +++ b/release/picobsd/mfs_tree/etc/rc.network @@ -59,16 +59,16 @@ network_pass1() { echo -n 'Additional routing options:' if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then echo -n ' tcp_extensions=NO' - sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 - sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + sysctl net.inet.tcp.rfc1323=0 >/dev/null 2>&1 + sysctl net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi if [ "X$gateway_enable" = X"YES" ]; then echo -n ' IP_gateway=YES' - sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 + sysctl net.inet.ip.forwarding=1 >/dev/null 2>&1 fi if [ "X$arpproxy_all" = X"YES" ]; then echo -n ' turning on ARP_PROXY_ALL: ' - sysctl -w net.link.ether.inet.proxyall=1 2>&1 + sysctl net.link.ether.inet.proxyall=1 2>&1 fi echo '.' network_pass1_done=YES # Let future generations know we made it. diff --git a/release/picobsd/net/floppy.tree/etc/rc.network b/release/picobsd/net/floppy.tree/etc/rc.network index 235db0a..f9cf321 100644 --- a/release/picobsd/net/floppy.tree/etc/rc.network +++ b/release/picobsd/net/floppy.tree/etc/rc.network @@ -55,16 +55,16 @@ network_pass1() { echo -n 'Additional routing options:' if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then echo -n ' tcp_extensions=NO' - sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 - sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + sysctl net.inet.tcp.rfc1323=0 >/dev/null 2>&1 + sysctl net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi if [ "X$gateway_enable" = X"YES" ]; then echo -n ' IP_gateway=YES' - sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 + sysctl net.inet.ip.forwarding=1 >/dev/null 2>&1 fi if [ "X$arpproxy_all" = X"YES" ]; then echo -n ' turning on ARP_PROXY_ALL: ' - sysctl -w net.link.ether.inet.proxyall=1 2>&1 + sysctl net.link.ether.inet.proxyall=1 2>&1 fi echo '.' network_pass1_done=YES # Let future generations know we made it. diff --git a/release/picobsd/router/floppy.tree/etc/mfs.rc b/release/picobsd/router/floppy.tree/etc/mfs.rc index aa60593..dae7f8a 100644 --- a/release/picobsd/router/floppy.tree/etc/mfs.rc +++ b/release/picobsd/router/floppy.tree/etc/mfs.rc @@ -6,7 +6,7 @@ motd /etc/motd set HOME=/ set PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin -sysctl -w vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 +sysctl vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 ### Special setup for one floppy PICOBSD ### echo diff --git a/share/examples/isdn/FAQ b/share/examples/isdn/FAQ index dcc6e67..a88de79 100644 --- a/share/examples/isdn/FAQ +++ b/share/examples/isdn/FAQ @@ -634,7 +634,7 @@ is discarding the extensions. This can easily be checked by doing ``sysctl net.inet.tcp.rfc1323''. If the result is 1, then the RFC1323 support is turned on. -Turn this off by doing ``sysctl -w net.inet.tcp.rfc1323=0'' (This is +Turn this off by doing ``sysctl net.inet.tcp.rfc1323=0'' (This is called "net.inet.tcp.do_rfc1323" under BSD/OS). For FreeBSD make sure that tcp_extension="NO" is in your /etc/rc.conf diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index 5ebb35c..d9cdd07 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -316,9 +316,9 @@ linux_debug(int syscall, int toggle, int global) } /* - * Usage: sysctl -w linux.debug=<syscall_nr>.<0/1> + * Usage: sysctl linux.debug=<syscall_nr>.<0/1> * - * E.g.: sysctl -w linux.debug=21.0 + * E.g.: sysctl linux.debug=21.0 * * As a special case, syscall "all" will apply to all syscalls globally. */ diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 99d2ff5..d2f8bee 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -151,7 +151,7 @@ kernel-install: fi ; \ mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old ; \ if [ "$$thiskernel" = ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \ - sysctl -w kern.bootfile=${DESTDIR}${KODIR}.old/${KERNEL_KO} ; \ + sysctl kern.bootfile=${DESTDIR}${KODIR}.old/${KERNEL_KO} ; \ fi; \ fi .endif diff --git a/sys/dev/bktr/bktr_card.h b/sys/dev/bktr/bktr_card.h index 272636f..41ec198 100644 --- a/sys/dev/bktr/bktr_card.h +++ b/sys/dev/bktr/bktr_card.h @@ -54,7 +54,7 @@ * eg options BKTR_OVERRIDE CARD=1 * * or using the sysclt hw.bt848.card - * eg sysctl -w hw.bt848.card=1 + * eg sysctl hw.bt848.card=1 * * where <card type> is one of the following card defines. */ |