Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Billr on October 27, 2002, 01:15:35 AM
-
How does one activate template changes after you have modified a template
ie /etc/e-smith/templates-custom/etc/smb.conf/11logonScript
Also:
Can any one define the use of
/etc/e-smith/templates
/etc/e-smith/templates-default
/etc/e-smith/templates-custom
/etc/e-smith/templates-user
/etc/e-smith/templates-user-custom
Also
How do the files in the following directory affect the update the server
[root@server/sbin/e-smith]# ls
backup db mysql-preload signal-event warnquota
buildtests dynamic-dns quicktest smoketest
config expand-template register-server unregister-server
console genfilelist reset-config validate-lexicon
I know this is could be a big explanation. If there are existing "How To's" for these
This might make a good place consolidate the info.
Thanks
-
Scroll down a bit--
"It is highly recommended that you read the e-smith server and gateway user guide." http://www.e-smith.org/docs/manual/
-
Thanks for your contribution Nate.
It is a very good starting spot, but I find it is not as concise an answer as this forum usually delivers.
-
How to activate a modified template
Source:
http://www.e-smith.org/docs/papers/templates.html
5. Custom template modifications
/sbin/e-smith/expand-template /etc/smb.conf
From this we can tell what the
"/sbin/e-smith/expand-template" command does.
Anyone one have another to add??
-
Bill,
I have been slowly building a mini howto for myself on various e-smith related items - it's just a list of things that I have found useful. I just haven't ever put it into print. Unfortunately, out of your list, the only two that I really use are the expand-template and signal-event console-save - this activates the new template that you have just hacked an expanded.
Just found another one. DON'T play with reset-config unless you want your basic configuration chewed....! It does what it says on the box.
I think that some of the directories are as follows, although I am happy to be corrected :
/etc/e-smith/templates
Main template directory for /etc /home /root /sbin /usr /var
/etc/e-smith/templates-default
I think that these are the stock header and footers used for all templates
/etc/e-smith/templates-custom
Customised templates to replace or enhance standard tempolates above
/etc/e-smith/templates-user
Stock 'user' orientated templates - for mail etc.
/etc/e-smith/templates-user-custom
Customised templates for users.
HTH
John