Re: New to list and question

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

 



On 3/2/2006, "Daniel Segall" <dan@xxxxxxxxxxxxxxx> wrote:

># Execute our post install
>if [ -f /root/linux-postinstall.sh ]; then
>        echo " * Executing Post-Install..."
>        chmod +x /root/linux-postinstall.sh
>else
>        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 3
>sleep 10
>exit 0
>#EOF
>
>
>Hope that helps a bit.
>
>
>-Dan
>
>_______________________________________________
>Kickstart-list mailing list
>Kickstart-list@xxxxxxxxxx
>https://www.redhat.com/mailman/listinfo/kickstart-list
>

I seemed to have missed a line here. It's obviously missing the exec
line. It should look like this:

# Execute our post install
if [ -f /root/linux-postinstall.sh ]; then
        echo " * Executing Post-Install..."
        chmod +x /root/linux-postinstall.sh
        exec /root/linux-postinstall.sh
else
        echo "Can't find linux-postinstall.sh."
fi

# We done.
echo " * Post-Install complete. System rebooting."
chvt 3
sleep 10
exit 0
#EOF


-Dan


[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