[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: postinstall files have ? at end



On Thu, 8 Feb 2001, Schuster, Dan wrote:

> When our postinstall program on RH7 does an echo to create a file like:
> 	echo "mybox" > /etc/HOSTNAME
> 
> The file ends up being /etc/HOSTNAME? (with a ? at the end of it).  Why is
> this doing this and how do you stop it from happening.  Does it have to do
> with how the ks.cfg file is created -or- how it is copied to the floppy
> disk?

Are you creating this on a DOS machine? You're probably getting a LF to go
along with the CR (or do I have that backwards?).

Erik

-------------------------------------------------------------------------------
|            "Who is John Galt?" - Atlas Shrugged by Ayn Rand		      |
|                                                                             |
|  Linux Application Development  --  http://people.redhat.com/johnsonm/lad   |





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]