Operating System - HP-UX
1827721 Members
2687 Online
109968 Solutions
New Discussion

Interrupt startup scripts

 
SOLVED
Go to solution
Jim McKee_2
New Member

Interrupt startup scripts

How do I interrupt the rc*.d startup scripts?

I have found references in the forums to using ctrl-| (pipe) to interrupt the startup scripts, but it doesn't seem to work. I have an L 2000 running HP-UX 11.11. I am testing startup scripts and want to interrupt the scripts if one of them hangs.

Jim
3 REPLIES 3
Jeff Schussele
Honored Contributor
Solution

Re: Interrupt startup scripts

Hi Jim,

From the console, do an stty -a & look for "quit=" - usually it's ctrl-\ but depending on your term-type it could differ.
That's what you need to enter.
Understand that no more rc scripts will run afterwards however.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jim McKee_2
New Member

Re: Interrupt startup scripts

Jeff,

That was the answer. Part of my problem was that the terminal was set to HP, while the GSP was set to vt100. When I set both to HP the ctrl-\ worked.

Along a similar thread, is there a way to interrupt a shutdown?


Jim
Jeff Schussele
Honored Contributor

Re: Interrupt startup scripts

Yes I think so - but do you really want to?
Depending on just where you hit it, you could really be in an inconsistent state.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!