diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-03-15 05:28:32 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-03-15 05:28:32 +0000 |
commit | 045897390a30c1bd01306cae492b18beecafb726 (patch) | |
tree | 14e600f2dee477828bc815d5a2f29d69f5975a61 /distrib | |
parent | e3e28c1165458f7a58667f74181afcae889fb357 (diff) |
When installing via NFS, only retry the mount five times (instead of the
default 10,000 times).
ok deraadt@ krw@ thib@
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 0a3603c0316..a1717182076 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.428 2008/03/09 02:00:42 krw Exp $ +# $OpenBSD: install.sub,v 1.429 2008/03/15 05:28:31 jsing Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback @@ -1194,7 +1194,7 @@ install_nfs() { [[ $resp == y ]] && _tcp=-T # Mount the server - mount_nfs $_tcp -o ro $NFS_ADDR:$NFS_PATH /mnt2 || return + mount_nfs $_tcp -o ro -R 5 $NFS_ADDR:$NFS_PATH /mnt2 || return install_mounted_fs } |