View | Details | Raw Unified | Return to bug 457032
Collapse All | Expand All

(-)/etc/init.d/nfs.orig (-4 / +12 lines)
Lines 44-52 Link Here
44
    case "$what" in
44
    case "$what" in
45
	\#*|"")     continue ;;
45
	\#*|"")     continue ;;
46
    esac
46
    esac
47
    case ",$options," in
48
	*,noauto,*) continue ;;
49
    esac
50
    case "$type" in
47
    case "$type" in
51
	nfs|nfs4)   ;;
48
	nfs|nfs4)   ;;
52
	*)          continue ;;
49
	*)          continue ;;
Lines 167-172 Link Here
167
    fi
164
    fi
168
}
165
}
169
166
167
do_start_rpc_statd() {	
168
	echo -n " rpc.statd"
169
	startproc $STATD_BIN
170
	return $?
171
}
172
170
rc_reset
173
rc_reset
171
case "$1-$nfs" in
174
case "$1-$nfs" in
172
    start-no|reload-no)
175
    start-no|reload-no)
Lines 218-224 Link Here
218
	fi
221
	fi
219
222
220
	# remark: statd is started when needed by mount.nfs
223
	# remark: statd is started when needed by mount.nfs
221
224
	# non-root mounts!?
225
	do_start_rpc_statd || {
226
	    rc_status -v
227
	    rc_exit
228
	}
229
	
222
	# Mount all auto NFS devices (-> nfs(5) and mount(8) )
230
	# Mount all auto NFS devices (-> nfs(5) and mount(8) )
223
	#  NFS-Server sometime not reachable during boot phase.
231
	#  NFS-Server sometime not reachable during boot phase.
224
	#  It's sometime usefull to mount NFS devices in
232
	#  It's sometime usefull to mount NFS devices in

Return to bug 457032