Bernhard Dübi wrote:
Hi everybody, ... 3) What's the best way to create an interactiv postinstall script ? I tried the init-script option, but the script runs in parallel with other scripts an never gets the hold of the console. In sles9 I had a post-install script which dropped a S00setup file in rc5.d, but in sles10 this files is ignored. Any ideas ?
for some interactiveness, you could try switching terminal, for example : /bin/chvt 9 exec < /dev/tty9 > /dev/tty9 you would lose stderr with this syntax, but for simple scripts it should be ok. as for being run in parallel, you could try using chroot scripts to either add all required stuff to Required-Start for /etc/init.d/autoyast, or do as uwe suggested some time ago - "Have you tried to turn off the RUN_PARALLEL in /etc/sysconfig/boot?" if these solutions do not help you, maybe executing a chroot script which adds your own service to be run upon boot helps... you could look at autoyast init script for hints.
Thank you very much for your help.
Sincerely Bernhard -- Rich