Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2008 09:26:47 +0100
From:      Bernard Dugas <bernard@dugas-family.org>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Optimising pxeboot disk size
Message-ID:  <4959DB47.9000003@dugas-family.org>
In-Reply-To: <20081229225952.W68805@wojtek.tensor.gdynia.pl>
References:  <20081216094719.EDCEE1065675@hub.freebsd.org> <49478749.2030200@dugas-family.org> <20081216123057.M61117@wojtek.tensor.gdynia.pl> <49592E79.40504@dugas-family.org> <20081229225952.W68805@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar wrote:
>> I couldn't find the hostname sent by dhcp, but found a way to find the 
>> ip address.
> 
> just use hostname command.

I did, but the answer is empty (remember this is before /etc/rc is run). 
Where is kept the data received by dhcp_client during pxe boot ?

>> The only problem i have is that the "echo done" and other standard 
>> outputs are not visible in /var/log/messages. How can i keep them 
>> either in dmesg or /var/log/messages ?
> 
> add second echo to >>/var/log/messages ;)

Hope not to forget one > ;-)

But is there a system call or configuration to do that automatically ? I 
can see some echo in /etc/rc without any >>, and their result seems to 
go to /var/messages.

I wish to learn to do clean scripting :-)

Best regards,
-- 
Bernard DUGAS Mobile +33 615 333 770



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4959DB47.9000003>