aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.initdiskless
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-04-27 15:42:34 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-04-27 15:42:34 +0000
commitedf28a672b20808388e3b298989db2d11e470ae9 (patch)
tree1cd384b1bb2258b0c785da62818246401f44b8f2 /etc/rc.initdiskless
parentb4b831ef39a3e2f33a3acd094eac471c502ec259 (diff)
Notes
Diffstat (limited to 'etc/rc.initdiskless')
-rw-r--r--etc/rc.initdiskless3
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"