Re: Dropping to a shell in %post

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

 



On 6/24/05, Dan Trainor <info@xxxxxxxxxxxxxxxx> wrote:

> Is it possible to drop to a sh shell in or after %post, so that I can
> poke around and get familiar with the %post enviornment to see about
> donig some things later on?

add these lines to your %post.

echo "Dropping to a shell"
open -c 8 bash
read tmp

The echo prints to tty3 so you probably won't see it...  Not sure how
to put stuff on the first tty.  This will pause the install until you
press Enter on the front screen.  You can switch to tty8 to do
whatever you want.

regards,
dan carpenter


[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