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 /release | |
parent | 65ea494ab5396a74c2c86608540ceb5f32689d1a (diff) | |
download | FreeBSD-src-1a506b7f476d48d8568fcecc4847d3dcbad2f278.zip FreeBSD-src-1a506b7f476d48d8568fcecc4847d3dcbad2f278.tar.gz |
sysctl -w -> sysctl
Diffstat (limited to 'release')
-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 |
4 files changed, 10 insertions, 10 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 |