sysctl -w -> sysctl

This commit is contained in:
Dima Dorfman 2002-05-11 06:06:11 +00:00
parent ff8ac0d53c
commit b90faaf350
8 changed files with 15 additions and 15 deletions

View File

@ -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 "-------------------------------------------"

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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.
*/

View File

@ -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

View File

@ -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.
*/