2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
9 #include <dos/dostags.h>
14 static struct Task
*t
;
16 static void StartCommand(void)
18 BPTR fh
= Open("S:Startup-Sequence", MODE_OLDFILE
);
20 SystemTags("type in:", SYS_Input
, (IPTR
) fh
);
33 SYS_Input
, (IPTR
) Open("NIL:", MODE_OLDFILE
),
34 SYS_Output
, (IPTR
) Open("RAW:////Dir/CLOSE/WAIT", MODE_NEWFILE
),
42 SYS_Input
, SYS_DupStream
,
43 SYS_Output
, SYS_DupStream
,
47 fh
= Open("S:Startup-Sequence", MODE_OLDFILE
);
49 SystemTags("type in:", SYS_Input
, (IPTR
) fh
, TAG_DONE
);
51 sig
= AllocSignal(-1);
54 CreateNewProcTags(NP_Entry
, (IPTR
) StartCommand
, NP_Input
, (IPTR
) Input(), NP_CloseInput
, FALSE
);