Hi Martin,
I'm using SLES 9. insserv works with my scripts. I've a workaround for the
autoinst.xml that works but I want to use the services syntax.
My workaround:
<scripts>
<chroot-scripts config:type="list"/>
<post-scripts config:type="list">
<script>
<filename>post.sh</filename>
<interpreter>shell</interpreter>
<source>
<![CDATA[
#!/bin/sh
insserv configure_system
insserv FIT_add_admin
]]>
</source>
</script>
</post-scripts>
<pre-scripts config:type="list"/>
</scripts>
Greets
Hartmut
Martin Vidner
I tried to distribute own services in /etc/init.d and added a section to my autoinst.xml to enable this services after installation. For comparison I added a section for disable a system service (xdm). This also is ignored and the service is enabled after installation. Where is the fault in my example?
<configure> .... <runlevels> <default>3</default> <services config:type="list" > <service>
configure_system enable </service> <service>FIT_add_admin enable </service> <service>xdm disable </service> </services> </runlevels> </configure>
Hi Hartmut, what release are you using? So did your own services get enabled? If not, does "insserv FIT_add_admin" succeed in a running system? -- Martin Vidner, developer SuSE CR, s.r.o. e-mail: mvidner@suse.cz Drahobejlova 27 tel:+420-296542373 190 00 Praha 9, Czech Republic http://www.suse.cz