something else you might want to look at that we started looking at is yast2-firstboot. you can put scripts into it and give the user yast2 modules to interact with. very simple to use as well. -----Original Message----- From: Bernhard Dübi [mailto:bduebi@solnet.ch] Sent: Thursday, November 02, 2006 10:22 PM To: suse-autoinstall@suse.com Subject: Re: [suse-autoinstall] Interactiv post-install script On Tue, 2006-10-31 at 21:15 +0100, Bernhard Dübi wrote:
On Thu, 2006-10-26 at 11:46 +0300, Rich wrote:
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
I have now 2 versions, one as init-script and one as a post-script.
New strategy, instead of installing an init script with chkconfig I add a bootwait entry in inittab, just like the yast initial config. In this mode, my scripts work like the init scripts in sles9. Problem solved. Thank you very much for your help. Sincerely Bernhard -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com