diff --git a/platform/apple2enh/contiki-main.c b/platform/apple2enh/contiki-main.c
index dcf1cfe05..9755597b7 100644
--- a/platform/apple2enh/contiki-main.c
+++ b/platform/apple2enh/contiki-main.c
@@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt
*
- * $Id: contiki-main.c,v 1.15 2008/02/10 22:45:26 oliverschmidt Exp $
+ * $Id: contiki-main.c,v 1.16 2008/02/17 14:11:48 oliverschmidt Exp $
*/
#include "contiki-net.h"
@@ -66,10 +66,6 @@ main(void)
process_init();
- procinit_init();
-
- autostart_start(autostart_processes);
-
#if 1
ethernet_config = config_read("contiki.cfg");
@@ -95,8 +91,12 @@ main(void)
}
#endif
+ procinit_init();
+
process_start((struct process *)ðernet_process, (char *)ethernet_config);
+ autostart_start(autostart_processes);
+
log_message("Contiki up and running ...", "");
while(1) {