Re: POST_SCRIPT doesn't work...

Ingo Boernig <[email protected]> Fri, 28 Jun 2002 15:13:40 +0200
Newsgroups gmane.linux.suse.alice
Message-ID <[email protected]>
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]
signature.asc (application/pgp-signature, 240 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE9HGEE+Ps8YyAzvzIRAkxFAJ9U+or317JmMR28kVykOA8C/7O9YACgiP8S
zab1xdNYqa+qZ91aSfdMMgM=
=2FNK
-----END PGP SIGNATURE-----