On Thursday 23 February 2006 13:30, T. Ribbrock wrote:
Is it possible to write an init-script in a way that will make the machine wait for the script to finish before displaying the login screen?
you forgot to tell us your SUSE Linux version. That often makes it hard to help. Don't know if it helps but here is an idea: configure in your autoyast profile that the sysconfig variable "RUN_PARALLEL" in /etc/sysconfig/boot is set to "no". Try it like this: <sysconfig config:type="list" > <sysconfig_entry> <sysconfig_key>RUN_PARALLEL</sysconfig_key> <sysconfig_path>/etc/sysconfig/boot</sysconfig_path> <sysconfig_value>no</sysconfig_value> </sysconfig_entry> ... If that does not work, it might be that it's too late already to configure that special case in the autoyast profile (because boot process is already running when autoyast is parsing the <sysconfig> section). Then you should use a chroot script: <scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>chroot.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh sed 's/RUN_PARALLEL=yes/RUN_PARALLEL=no' /etc/sysconfig/boot >/tmp/new mv /tmp/new /etc/sysconfig/boot ]]> </source> </script> both things are untested. Better check for syntax errors. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de