AW: POST_SCRIPT doesn't work...

"Menzel, Heiko" <[email protected]> Fri, 28 Jun 2002 16:56:56 +0200
Newsgroups gmane.linux.suse.alice
Message-ID <[email protected]>
thanks for your help, is works fine with ntp as well as with autofs.

Do I have the chance to stop and start the services (e.g. /etc/rc.d/route) during the alice-configuration?
With entries like "<SYS_START_INETD>" the system writes only the correct value 
in /etc/rc.config but unfortunately it doesn't make a restart of services!

Heiko



-----Ursprüngliche Nachricht-----
Von: Ingo Boernig [mailto:[email protected]]
Gesendet: Freitag, 28. Juni 2002 15:14
An: Menzel, Heiko
Cc: [email protected]
Betreff: Re: [alice] POST_SCRIPT doesn't work...


On Fri, Jun 28, Menzel, Heiko wrote:

> thanks, that works fine!
> 
> Do you know possiblities to configure ntp and autofs via alice?
> Or do I have only the possibility to do that thru a script?

For ntp you can user the misc config table tags:

In <classname>.misc.tcf:

<MISC_CFG_TABLE>
xntp NTP_CFG=/etc/ntp.conf
</MISC_CFG_TABLE>

And then in <classname>.xntp.tcf

<MISC_CFG_NTP_CFG>
driftfile /etc/ntp.drift
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify
disable pll
server 127.127.1.1  prefer

fudge 127.127.1.1 stratum 1
</MISC_CFG_NTP_CFG>

for instance. The whole content in the tag is then saved into
/etc/ntp.conf

But don't forget to start this module:

<SYS_APPLICATION_SCRIPTS>
make_config_files
</SYS_APPLICATION_SCRIPTS>

> Heiko

Ingo
-- 
Ingo Börnig   -   SuSE Linux AG Professional Services   -   DU Central
        Marie-Curie-Straße 11-17  -   D-53757 St. Augustin
Tel.:+49-2241-92917-0 	 			Fax:+49-2241-314599911
Office Dortmund: Tel.:+49-231-47797-105   E-Mail: [email protected]

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]