Re: startup question
- From: Josef Moellers <josef.moellers@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Aug 2006 09:17:15 +0200
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
.
- References:
- startup question
- From: Eric
- startup question
- Prev by Date: Re: Empty linux/config.h
- Next by Date: Re: accessing files, devices, in kernel modules
- Previous by thread: startup question
- Next by thread: Empty linux/config.h
- Index(es):
Relevant Pages
|
|