cvs commit: src/etc/rc.d initdiskless

Ruslan Ermilov ru at FreeBSD.org
Tue Apr 27 09:28:10 PDT 2004


On Tue, Apr 27, 2004 at 08:42:34AM -0700, Poul-Henning Kamp wrote:
> phk         2004/04/27 08:42:34 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/rc.d             initdiskless 
>   Log:
>   When using this in non-NFSroot circumstances, `mount -t nfs` may
>   return empty.  Add a dummy element to prevent the alternate action
>   of the shell builtin "set"
>   
>   Revision  Changes    Path
>   1.35      +2 -1      src/etc/rc.d/initdiskless
> 
A better fix would be to:

-set `mount -t nfs`
+set -- `mount -t nfs`


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040427/8bb0d2e5/attachment.bin


More information about the cvs-src mailing list