> --- In "aceboy200" <> wrote:
>>
>> Hey guys,
>>
>> I am in a sticky situation. I wanted to run a program at startup, so
>> I called the program from /etc/rC.d/rcS.sysinit. However, the program
>> runs forever. I thought I would be able to ctrl-c out of it, but
>> alas, no. It runs in the foreground, causing the console to hang.
>>
>> Basically, I just need to get to the main login prompt so I can fix
>> things, but (I am fairly new to this) I don't know how to get there.
>> I have played around with redboot a bit, but no luck.
>>
>> Any ideas?
>>
>
> I *think* you may be able to append 'single' to the kernel command
> line and it should drop you into a single user shell rather than
> executing any startup scripts. It's been a while since I tried this,
> and I haven't tried this with the TS kernels....
>
> In the future, boot via NFS and do your testing that way. If you blow
> up the NFS image, no big deal. :-)
>
> --Yan
>
You could also try the kernel command line parameter "init=/bin/sh"
--Michael
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|