Re: Display progress during long kickstart %post script

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

 



On Fri, 4 Mar 2005, Daniel Segall wrote:

>--------------- snip --------------------
>
># Execute our post install
>echo "  "                                       >>/root/ks.log
>if [ -f /root/linux-postinstall.sh ]; then
>        echo " * Executing Post-Install..."     >>/root/ks.log
>        echo " * Executing Post-Install..."
>        chmod +x /root/linux-postinstall.sh
>        exec /root/linux-postinstall.sh         >>/root/ks.log
         ^^^^ What's this?
>else
>        echo "Can't find linux-postinstall.sh." >>/root/ks.log
>        echo "Can't find linux-postinstall.sh."
>fi
>
># We done.
>echo " * Post-Install complete. System rebooting." >>/root/ks.log
>echo " * Post-Install complete. System rebooting."
>chvt 1
>sleep 10
>exit 0
>#EOF

When you hit that exec, you're not in Kansas any more, and specifically
the final "Post-Install complete" section will never execute. The
original question was about dialog, but there's no mention in the
script??


Cheers,
Phil


[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