Koozali.org: home of the SME Server

How to activate changes

Billr

How to activate changes
« 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

Nate

Re: How to activate changes
« Reply #1 on: October 27, 2002, 09:42:49 AM »
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/

Billr

Re: How to activate changes
« Reply #2 on: October 27, 2002, 11:12:47 AM »
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.

Billr

Re: How to activate changes
« Reply #3 on: October 27, 2002, 11:58:42 AM »
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??

John Crisp

Re: How to activate changes
« Reply #4 on: October 29, 2002, 01:13:39 AM »
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