> 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've seen problems of this sort caused by unpaired quotes and improper
end-of-lines (ie DOS <CR><LF> instead of unix <LF>).

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



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

Reply via email to