Re: how to make a script run only at first reboot



On 29 Aug 2006 01:04:18 -0700, john_woo@xxxxxxxxxx
<john_woo@xxxxxxxxxx> wrote:
Hi,

I'm writing a installationMyApp.sh, which needs the redHat reboot and
run the rest of a few commands (may in other script). The difficulty
for me is, the script has to be executed at the first reboot, namely no
more execution from second reboot.

Why do you need to reboot other than for installing a new kernel?



--
BOFH excuse #336:
the xy axis in the trackball is coordinated with the summer solstice
.



Relevant Pages

  • Re: WMI and Joining Domain (sysprep related)
    ... > Just keep in mind that you have to rename the computer and reboot before you ... > use a script to automaticaly generate a sysprep.inf file that includes ... Dim sps_barcode,Flag,ExtraMsg ... '' Get workstation BIOS info for oeminfo '' ...
    (microsoft.public.scripting.vbscript)
  • RE: make world : did it fail?
    ... I know from the script output that the buildworld and buildkernel succeeded. ... The only step that is suspect is the installkernel. ... It reported the unpatched kernel. ... When I heard the computer reboot (it's sitting ...
    (freebsd-questions)
  • RE: Reboot Script for Group Policy?
    ... "Umesh Thakur" wrote: ... > I have a script that I use to reboot remote computers. ... to reboot those machines using those accounts. ...
    (microsoft.public.windows.server.scripting)
  • RE: Reboot Script for Group Policy?
    ... Thanks for the reply and modification you made to the script you provided. ... Machines Names/IP and time should be separated by ... > 'Script to REBOOT a machine remotely... ... >>> I have a script that I use to reboot remote computers. ...
    (microsoft.public.windows.server.scripting)
  • RE: Reboot Script for Group Policy?
    ... I have a script that I use to reboot remote computers. ... to reboot those machines using those accounts. ...
    (microsoft.public.windows.server.scripting)