Koozali.org: home of the SME Server

Office Time - Changing

Russell Tiedt

Office Time - Changing
« on: October 28, 2000, 12:29:27 PM »
Hi,

Where in the templates does one change the time for office hours from 08:00 - 18:00, to 07:00 - 19:00?

Many thanks,

Russell

Charlie Brady

RE: Office Time - Changing
« Reply #1 on: October 29, 2000, 08:08:09 PM »
Russell Tiedt wrote:

> Where in the templates does one change the time for office
> hours from 08:00 - 18:00, to 07:00 - 19:00?

You need to change the template for /etc/diald.filter.

Regards

Charlie

Damien Curtain

RE: Office Time - Changing
« Reply #2 on: October 30, 2000, 01:59:42 AM »
Charlie Brady wrote:

> Russell Tiedt wrote:
>
> > Where in the templates does one change the time for office
> > hours from 08:00 - 18:00, to 07:00 - 19:00?
>
> You need to change the template for /etc/diald.filter.

you need to do something like

mkdir -p /etc/e-smith/templates-custom/etc

cp -a /etc/e-smith/templates/etc/diald.filter  \
    /etc/e-smith/templates-custom/etc/.

then edit the file, eg.

cat /etc/e-smith/templates/etc/diald.filter/template-begin | sed -e 's/8:00:00 17:59:59/7:00:00 18:59:59/' -e 's/7:59:59/6:59:59/' -e 's/18:00:00/19:00:00/' > /etc/e-smith/templates-custom/etc/diald.filter/template-begin

and then

/sbin/e-smith/expand-template /etc/diald.filter

--
 Damien

Russell Tiedt

RE: Office Time - Changing
« Reply #3 on: October 30, 2000, 08:52:51 PM »
Thanks, will give it a bash and see how it comes out.

Regards,

Russell