[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Script which runs after first reboot only?
- From: Jason L Tibbitts III <tibbs math uh edu>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Subject: Re: Script which runs after first reboot only?
- Date: Thu, 27 Apr 2006 21:01:51 -0500
>>>>> "P" == Pat <patchu1 yahoo com> writes:
P> There are a few last steps I need to do to complete my automated
P> system setup which can only be done AFTER a computer reboots when
P> it completes an installation.
I do this; in %post I just stick the script in /math-firstboot and
then stick this at the end of /etc/rc.d/rc.local:
if [ -f /math-firstboot ]; then
echo "First boot: doing initial setup"
/math-firstboot&
fi
The last thing /math-firstboot does is delete itself.
This isn't the prettiest way to do things, but it's worked for me for
many releases now.
- J<
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]