I'm slowly transferring all my applications to another system. And in the process filtering out those I need and what assigns are needed in User-Startup. I thought I would break it and continue work later.
The Quit command is used for that. However, I found that although it broke the script, it also broke the Startup-Sequence. Leaving me with a CLI window that wouldn't close and no Workbench.
I tried passing a RC of 5 with Quit but there was no difference. Is there a way to break or exit from a User-Startup script and continue the boot process?
Is there a way to exit the User-Startup script?
- nbache
- Beta Tester
- Posts: 1716
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: Is there a way to exit the User-Startup script?
One way that comes to my mind would be to create a label with Lab at the end of User-Startup and then Skip to it.Hypex wrote:Is there a way to break or exit from a User-Startup script and continue the boot process?
Best regards,
Niels
- thomasrapp
- Posts: 310
- Joined: Sat Jun 18, 2011 11:22 pm
Re: Is there a way to exit the User-Startup script?
I'd also suggest the Lab / Skip solution for exiting a script.
However, for a migration job like yours I would keep the old script with another name and copy/paste only those sections which shall be executed into the real user-startup file.
However, for a migration job like yours I would keep the old script with another name and copy/paste only those sections which shall be executed into the real user-startup file.
Re: Is there a way to exit the User-Startup script?
What about commenting out (with a column ";" ) the passages you do not want/need?Hypex wrote:I'm slowly transferring all my applications to another system. And in the process filtering out those I need and what assigns are needed in User-Startup. I thought I would break it and continue work later.
The Quit command is used for that. However, I found that although it broke the script, it also broke the Startup-Sequence. Leaving me with a CLI window that wouldn't close and no Workbench.
I tried passing a RC of 5 with Quit but there was no difference. Is there a way to break or exit from a User-Startup script and continue the boot process?
Re: Is there a way to exit the User-Startup script?
I also could do it with a Lab and Skip, yes, but I was wondering if there was a way to do it without a work around. In all the years I've used AmigaOS I don't ever recall coming across this problem. So just thought I'd ask.
Re: Is there a way to exit the User-Startup script?
That's exactly how I started doing it. But when you have a hundred lines to go through, it's gets a but tedious doing semi-colon, down, left, ...Amigo1 wrote:What about commenting out (with a column ";" ) the passages you do not want/need?