> Hi guys,
> 
> I'm trying to get user input during installation of an rpm. I have a
> simple perl script which works fine by itself, but when run automatically
> during rpm installation, it simply doesnt stop for the user input... it
> just goes directly thru it.
> 
> I just get user input using,
> 
> $answer = <STDIN>;
> 
> which works fine if the script is run manually. But inside the rpm the
> STDIN input is ignored.


Better to tell root what needs to be done. Just how you tell root can be 
tricky - if mail's working *you can open the smtp port), or if sendmail's 
installed, it's pretty easy.

Otherwise, perhaps something installed in the initscripts to let root know 
when mail's working.

The first case covers post-install conditions; the second if it's done during 
system-install.






_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to