Matt Schalit wrote:

>guitarlynn wrote:
>
>>I'm working on a script that generates Dachstein compliant /etc/modules
>>and /etc/network.conf files and is used as an "install" option on the
>>lrcfg menu. It is all working at this point _except_ the generated
>>network.conf file. Using the dhcp and firewall options, I get this error
>>on "svi network reload":
>>
>>        [: missing ]
>>        YES: not found
>>        YES: not found
>>        1.1.1.2:not found
>>        /etc/network.conf: 526: Syntax error: "&&" unexpected
>>
>>I can't seem to locate which "YES" is not found and on 526 the
>>"&&" is there on all network.conf's.
>>
>>I've gone through the generated file line by line and can find no
>>difference between the generated one and the one on my present
>>router (cd v1.0.2). Can anyone lend me a hand and find the error?
>>I'm going nuts now!
>>
>
>
>I'm guessing that a control character got in there
>or something odd.  Did you really compare the
>files to see if they are exactly the same using
>various unix commands, or did you just read the lines?
>
>If you could do an md5sum on both files that was
>the same, then I'd be convinced, but some sort of
>cat -v or something would be intersting.
>
Or try to create a network.conf that should be exactly the same as the 
original and do something like:

diff -u network.conf.old network.conf.new

Ewald Wasscher


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to