diff options
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 47ab3ec..16ca8cf 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" |