network.subr (41185) | network.subr (41371) |
---|---|
1#!/bin/sh - 2# | 1#!/bin/sh - 2# |
3# $Id: rc.network,v 1.34 1998/11/11 05:23:44 peter Exp $ | 3# $Id: rc.network,v 1.35 1998/11/15 20:30:04 msmith Exp $ |
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91 5 6# Note that almost all the user-configurable behavior is no longer in 7# this file, but rather in /etc/rc.conf. Please check that file 8# first before contemplating any changes here. If you do need to change 9# this file for some reason, we would like to know about it. 10 11# First pass startup stuff. --- 241 unchanged lines hidden (view full) --- 253 fi 254 if [ "X$rpc_statd_enable" = X"YES" ]; then 255 echo -n ' rpc.statd'; rpc.statd 256 fi 257 fi 258 259 if [ "X${nfs_client_enable}" = X"YES" ]; then 260 echo -n ' nfsiod'; nfsiod ${nfs_client_flags} | 4# From: @(#)netstart 5.9 (Berkeley) 3/30/91 5 6# Note that almost all the user-configurable behavior is no longer in 7# this file, but rather in /etc/rc.conf. Please check that file 8# first before contemplating any changes here. If you do need to change 9# this file for some reason, we would like to know about it. 10 11# First pass startup stuff. --- 241 unchanged lines hidden (view full) --- 253 fi 254 if [ "X$rpc_statd_enable" = X"YES" ]; then 255 echo -n ' rpc.statd'; rpc.statd 256 fi 257 fi 258 259 if [ "X${nfs_client_enable}" = X"YES" ]; then 260 echo -n ' nfsiod'; nfsiod ${nfs_client_flags} |
261 if [ ! "X${nfs_access_cache}" = X ]; then 262 sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} | 261 if [ "X${nfs_access_cache}" != X ]; then 262 sysctl -w vfs.nfs.access_cache_timeout=${nfs_access_cache} \ 263 >/dev/null 2>&1 |
263 fi 264 fi 265 266 if [ "X${amd_enable}" = X"YES" ]; then 267 echo -n ' amd' 268 if [ "X${amd_map_program}" != X"NO" ]; then 269 amd_flags="${amd_flags} `eval ${amd_map_program}`" 270 fi --- 38 unchanged lines hidden --- | 264 fi 265 fi 266 267 if [ "X${amd_enable}" = X"YES" ]; then 268 echo -n ' amd' 269 if [ "X${amd_map_program}" != X"NO" ]; then 270 amd_flags="${amd_flags} `eval ${amd_map_program}`" 271 fi --- 38 unchanged lines hidden --- |