Re: startup question



Eric wrote:
I'm trying to do some boot cycle testing, is it correct to just create a S*
script in /etc/rc3.d and put calls to my program in that?
is: i created an S99zzReset script in rc3.d so it would be the very last one to get executed in run level 3 (i am only going to level 3 not to 4 or
5) Is there anything special i need to do there? before i call my Reset test
program? do i treat it as "just another shell script"?

That's how we usually do reboot-testing.

You won't get a login prompt, so personally, I prefer having the atd daemon running and scheduling a reboot:

at -f /root/restart now + 1minutes

That way, I can easily stop the rebooting process by doing
at -l
at -d <job>

It delays reboots by 1 minute, though ...

In the "S99zzzzzreboot"-case you'd have to change runlevels to stop the reboot-test.

--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett

.



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)