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