diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-04-27 15:42:34 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-04-27 15:42:34 +0000 |
| commit | edf28a672b20808388e3b298989db2d11e470ae9 (patch) | |
| tree | 1cd384b1bb2258b0c785da62818246401f44b8f2 /etc/rc.initdiskless | |
| parent | b4b831ef39a3e2f33a3acd094eac471c502ec259 (diff) | |
Notes
Diffstat (limited to 'etc/rc.initdiskless')
| -rw-r--r-- | etc/rc.initdiskless | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless index 47ab3ec5bba6..16ca8cf86b59 100644 --- a/etc/rc.initdiskless +++ b/etc/rc.initdiskless @@ -202,7 +202,8 @@ fi # Figure out our NFS root path # -set `mount -t nfs` +# The 'x' is there in case the list is empty. +set x `mount -t nfs` while [ $# -ge 1 ] ; do if [ "$2" = "on" -a "$3" = "/" ]; then nfsroot="$1" |
