[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: New to list and question
- From: "Daniel Segall" <dan half-asleep com>
- To: kickstart-list redhat com
- Subject: Re: New to list and question
- Date: 2 Mar 2006 11:08:35 -0500
On 3/2/2006, "Daniel Segall" <dan half-asleep com> 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 redhat com
>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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]