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 | |
parent | b4b831ef39a3e2f33a3acd094eac471c502ec259 (diff) | |
download | src-edf28a672b20808388e3b298989db2d11e470ae9.tar.gz src-edf28a672b20808388e3b298989db2d11e470ae9.zip |
Notes
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/initdiskless | 3 | ||||
-rw-r--r-- | etc/rc.initdiskless | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/initdiskless b/etc/rc.d/initdiskless index 47ab3ec5bba6..16ca8cf86b59 100644 --- a/etc/rc.d/initdiskless +++ b/etc/rc.d/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" 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" |