Re: Pausing, terminating, and resuming installs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Apr 2003, Sean P. Kane wrote:

> This is an interesting discussion. I tried a trick recently to PAUSE the
> install in the %post section if certain unusual errors occurred (from
> here I could decide to continue or cancel). I did this by simply using
> the "read" command to wait for <enter> until continuing. Of course, the
> problem here ended up being that you are only seeing the output from
> your post script and don't actually have anyway to give it input. I
> tried a few hacks like using "open" to launch it interactively on
> another vt, but that didn't seem to work well either. Has anyone had any
> success with such an approach? It would be nice to come up with some
> solid error handling for kickstart.

I've been hacking away at my own installer. If I want it to pause, I
find this works well:
/bin/bash </dev/console >/dev/console 2>/dev/console

This gives me complete freedom as to what to do, including 
"/sbin/reboot -f -n"


-- 
Please, reply only to the list.






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux