Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Russell Tiedt 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
-
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
-
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
-
Thanks, will give it a bash and see how it comes out.
Regards,
Russell