Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: zof on March 14, 2004, 06:02:56 PM
-
Hi,
I've got a problem with the "expand-template" process because of the comment it add to the begining of the file it create.
The complete explication:
I've installed a Jabber 1.4 server on my e-smith 6 box. I got a DSL line and a dynamic IP. I want to use SSL with jabber so my external IP must be wrote in the config file. I then created a template. It works well exept that it puts some comments at the begining of the file and that jabber use an XML settings file and it MUST see "<jabber>" at the very begining of it. also the # char is not an acceptable comment in XML so I've got quite a problem with that.
E-smith 5 did not have this behaviour.
Is there a possibility to disable the adding of those comments?
PS: Nice idea to continue to dev e-smith. it's a great plateform. Congratulations for the efforts.
-
You can add an empty 'template-begin' fragment to the template. Doing 'touch /etc/e-smith/templates/etc/something.conf/template-begin' should do the trick.
-
it works!
thanks.